[Mono-list] mono-service and logging to syslog
Tomasz Noiński
noix at sphere.pl
Wed May 23 08:05:18 EDT 2007
Hi,
I've been successfully running a "windows service" under Linux+Mono with
it, but I've got two questions:
1. Is it possible to specify syslog "facility" mono-service messages are
logged under? It seems it is "user" facility, but maybe it's configurable
somewhere...
2. Is it possible to put my own messages to syslog with such a service?
How?
mono-service2 already puts "Service started" and "Stopping service", so
there clearly is some code to do this.
What would be perfect for me is a System.Diagnostics.TraceListener that
would write to the same syslog facility, possibly with an additionally
specified "log level".
TIA,
Noix
More information about the Mono-list
mailing list