Page 1 of 1
Using "real" syslog on Windows?
Posted: Wed Jan 05, 2005 9:58 am
by jgarbers
I like to use Kiwi Syslog Daemon (
http://www.kiwisyslog.com), a nice syslog that runs on Win32. However, PHP wants to use the NT Event Log instead. Is there a way to reconfigure PHP to use "real" syslog on Windows without recompiling it? Thanks for any help.
Posted: Wed Jan 05, 2005 10:06 am
by feyd
[php_man]set_error_handler()[/php_man] - create your own error handler to send it to syslog.
Moved to PHP - Code.
Posted: Wed Jan 05, 2005 10:21 am
by jgarbers
wow - thanks for the quick reply, but I think my question wasn't clear. I'd like the syslog() function, which I'll use for my own event reporting, to use the real syslog() protocol rather than sending the output to the NT Event Log. Does that make sense, and can it be done? Thanks.
Posted: Wed Jan 05, 2005 10:35 am
by feyd
oops, forgot about the function. From a quick look around, it would appear not settable without recompile.