[Xml-compile] Multiple problems with X::C::WSDL11
Mark Overmeer
mark at overmeer.net
Sun Mar 14 22:41:53 GMT 2010
* Robin V. (robinsp at gmail.com) [100314 21:02]:
> I'm not sure the way it is registered is the good one:
>
> $daemon->operationsFromWSDL($wsdl,
> callbacks => { default_callback => \&my_callback } );
$daemon->operationsFromWSDL($wsdl,
default_callback => \&my_callback,
callbacks => {...} );
> Anyway, do you have any clue on how to replace the Sys::Syslog used by
> Log::Report::Dispatcher? I'd like to see logs on the standard error
> instead of windows event logger used by sys::syslog, but I can't
> easily find where to look for information on how to change this.
I do not know how your script looks exactly.
See XML/Compile/SOAP/Daemon::post_configure().
The default logger is Log::Report. Then, somewhere in the daemon,
you start logging to syslog:
dispatcher SYSLOG => 'default'; # replace default output
or
dispatcher SYSLOG => 'syslog'; # some other output name
dispatcher close => 'default'; # then close perl out.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list