I'm currently running a drupal site on windows using WAMP. From reading the API docs, I think that drupal uses PHP's syslog function to log status messages. I was wondering if there was a way to configure the event viewer to show the log messages generated by PHP's syslog function.
2 Answers
1) Let PHP execute syslog()
. Example:
syslog(LOG_INFO, 'This is my test message');
2) In this example I will looking for: This is my test message
.
Open run: Windows button + R
Type: eventvwr
Then consult this screenshot (it's in dutch language)
Let's zoom in:
We found it!