The only errors appearing in ~/logs/frontend/error_<application>_php.log are occasional "File does not exist: robots.txt" entries. No PHP errors of any severity are showing. They display on my web pages and I have php.ini entries: display_errors=1 log_errors=On Adding an explicit error_log directive to php.ini pointing to the log file doesn't help. Neither does enabling log_errors in my PHP code. After looking at docs and relevant questions, I don't know what I'm doing wrong. asked 11 Jun '15, 14:54 bvbb |
The name If you want to log your PHP errors somewhere, then try specifying a path to a log file, like this:
Hope that helps! answered 11 Jun '15, 19:33 seanf |
Thank you. That works. This information should be in your PHP documentation. Interestingly and counterintuitively, pointing error_log to the existing error_<application>_php.log file in exactly the same way does not cause PHP errors to be logged there. Any idea why my log, /home/bvb/logs/bucksvsbytesphperrors.log, doesn't do a 7 day rotation the way Webfaction-created log files do? The entries in /etc/logrotate.users.conf would seem to apply, but it's not happening. answered 13 Jun '15, 12:40 bvbb It might have been a temporary issue with the log not rotating as user logs in /home/<username>/logs/user/ are rotated daily. If it continues to happen I would suggest opening a support ticket.
(13 Jun '15, 13:07)
aaront ♦♦
|