I'm trying to do a feature with such a functionality:
I've got a custom error handler but I want to set it up i cooperation with default server syslogger
. I'm using Xampp
.
So I need to send data to two syslogs
at same time.
Is it possible in PHP
?
You have to use different facility with openlog() and open/close log for each switch between these, due to lack of log handle being passed to syslog()