Reputation: 2032
My current php.ini reads: error_log = error_log
And it is fine, it logs the errors of all scripts into separate files, depending on what folder they are in. So it gives a result like this:
public_html/error_log
public_html/folder1/error_log
public_html/folder2/error_log
But is it also possible to, in addition to this, make it log to one general error_log? Like below?
public_html/general_error_log_for_all_folders
public_html/error_log
public_html/folder1/error_log
public_html/folder2/error_log
Upvotes: 0
Views: 289
Reputation: 157863
error_log = /absolute/path/to/error_log
if you want to setup different error logs for some applications, use runtime config, .htaccess for example
php_value error_log = /absolute/path/to/public_html/certain/app/error_log
Upvotes: 2