0

I'm trying to test an installation of Windows Kiwi Syslog Server by logging to it using the syslog function in PHP as follows:

syslog(LOG_WARNING, "test123");

The function returns true but the log doesn't show up in Kiwi which is running on the localhost. Is there any configuration required to enable syslog to work using PHP in Windows?

hakre
  • 193,403
  • 52
  • 435
  • 836
Dan
  • 3,389
  • 5
  • 34
  • 44
  • What has told you the technical support department of Kiwi Syslog Server about compatibility with PHP? What makes you believe it could work with Kiwi Syslog Server? – hakre May 23 '12 at 21:47

1 Answers1

1

This syslog() function call is a unix thing. According to the php syslog manual:

Notes
On Windows NT, the syslog service is emulated using the Event Log. 

So it is unlikely that your messages will end up in kiwi syslog server unless it reads the EventLog.

b0ti
  • 2,319
  • 1
  • 18
  • 18