Currently error_log files are generated in the same directory as the PHP script that generated the errors.
What do I need to change so that all errors are placed in a single error_log file in each accounts public_html folder?
Also, I am trying to put together a list of the most effective SSH commands for dealing with error_log files e.g.
- delete all error_log files - find /home -name error_log -exec rm -f {} \;
- listing all error_log files - find /home -name error_log
- listing the size of all error_log files - find /home -name error_log -exec stat -c%s {} \;
- listing all error_log files ascending by size - ?
If anyone has any other examples to add I would appreciate it very much.
Thank you.
What do I need to change so that all errors are placed in a single error_log file in each accounts public_html folder?
Also, I am trying to put together a list of the most effective SSH commands for dealing with error_log files e.g.
- delete all error_log files - find /home -name error_log -exec rm -f {} \;
- listing all error_log files - find /home -name error_log
- listing the size of all error_log files - find /home -name error_log -exec stat -c%s {} \;
- listing all error_log files ascending by size - ?
If anyone has any other examples to add I would appreciate it very much.
Thank you.