UseLog4Net kills logging

151 views
Skip to first unread message

RichB

unread,
Aug 31, 2012, 4:50:37 AM8/31/12
to topshelf-discuss
In TopShelf v3 whenever I write:

x.UseLog4Net()

It kills logging - potentially it kills my service. But since I have
no logging, it's a bit tricky to see.
I already had a call to log4net.Config.XmlConfigurator.Configure(); in
my code, so I commented that out, but x.UseLog4Net() is still an
issue.

I see internally it calls ShutDown on the LogManager - is that
correct?


Thanks,
Richard

Chris Patterson

unread,
Aug 31, 2012, 9:40:42 PM8/31/12
to topshelf...@googlegroups.com
After the service exits it will call that.
Reply all
Reply to author
Forward
0 new messages