Add log feature to frontend/php by johnburd <johnburd19@gmail.com>.