I've set up multiple vhosts under apache2 / mod_perl. I used the ErrorLog
directive to get a separate error log for each vhost. This only worked as expected when I used Apache2::Log. 'warn' would only log to the regular error log.
So that's all working. Finally. But there's one issue remaining: When I log via $r->log_error, I find that newlines are replaced with \n
Any idea why this happens, and how it can be fixed?
Thanks.
'Hi\n'
vs"Hi\n"
– Discrete