PHP Error logs?

If I set Write error messages to log to ON and I set Log file for errors to Syslog to what location will the server write the logs?

Howdy,

Well, by default, each domain will send it’s logs to $HOME/logs/access_log and $HOME/logs/error_log.

If you’re saying that’s not what you want, and you want that generated via syslog – I’m not actually sure which log it would end up in (that depends on your distro, and how syslog is setup), but you could review the various log files in /var/log/ to see which it’s going to.

You could have your PHP app generate a log message, then grep those log files for that particular message.

-Eric