Where does IIS 7.5 log errors?

capdragon picture capdragon · Jan 21, 2011 · Viewed 82.4k times · Source

Where does IIS 7.5 log errors?

Event Viewer? Log File?

I get a very non specific internal 500 error. I would like to find out more.

I'm running PHP and I did what this last comment on this post said. But still not logging to the C:\windows\temp.

Answer

NeerPatel picture NeerPatel · Jan 21, 2011

To report errors in the Event viewer, go to your php.ini and make sure logging is on.

log_errors = On

then enable error_log to write to syslog (with is the Event Viewer on Windows machines)

error_log = syslog