[Mono-list] Nothing happens with mono-service and EventLog.WriteEntry

Robert Jordan robertj at gmx.net
Mon Feb 12 14:37:57 EST 2007


Michael Schurter wrote:
> On Mon, 2007-02-12 at 10:42 -0600, Michael Schurter wrote:
>> I created a service in MonoDevelop, compiled it using the 2.0 profile,
>> and run it using mono-service.
>>
>> Everything appears to work fine: Service started and stopped messages
>> show up in my syslog, the process is running, and the lock file exists.
>>
>> However my service doesn't seem to do anything, and none of my
>> EventLog.WriteEntry() calls seem to generate any logging information (I
>> also tried Console.WriteLine()).

Console.Error.WriteLine() works but I can't recall where the output
goes: /var/log/messages or console.

Robert



More information about the Mono-list mailing list