How to log with PHP to Windows Event log?

Viewed 3080

Am trying to log with syslog() on windows (IIS 7.5) and I just can't make it appear in the Windows Events.

What I tried so far:

  • php.ini -> error_log = "syslog" (this advised on multiple sites)
  • giving to the IUSR_... user the right permissions to wrote to the Event logs (even administrator permissions)

Any clue or help is appreciated!

1 Answers
Related