[Mono-dev] mono-service and log4net

Mirco Bauer meebey at meebey.net
Tue Nov 27 12:08:50 EST 2007


On Tue, 2007-11-27 at 14:58 +0100, pablosantosluac wrote:
> Hi again,
> 
> 
> Well, if you set up logging in the service OnStart method... it works! :-)
> 
> If you just initialize it on the application's Main method it works on 
> Windows but not on Linux.

That's interesting, sounds like MS .NET calls Main() even for services
while Mono's service implementation does not call Main().
I would say this is a bug, please file a bugreport.

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    meebey at meebey.net  http://www.meebey.net/
PEAR Developer    meebey at php.net     http://pear.php.net/
Debian Developer  meebey at debian.org  http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071127/e71199ca/attachment.bin 


More information about the Mono-devel-list mailing list