First off, I just want to say that I read this thread and it didn't help. Here's my situation:
I'm using vhosts as configured in /etc/apache2/extra
, and I have this in each entry:
ErrorLog "/path/to/error_log"
The error_log commands absolutely write to the proper error logs and properly ignores the error_log
location in php.ini
, but any line breaks appear as "\n"
and the text from the arrays just run on; I really need it to be formatted properly.
Is there a way to enable real line breaks in error logs when using separate locally-hosted sites, or am I just going to have to deal with this? FWIW, this happens for me on both my OSX Lion and OSX Yosemite machines. The aforementioned thread, btw, specifically addresses using the default error_log
location as directed in php.ini
, which again, is not what I'm doing.