app.php clean up
error log output