Re: Log4net logging unreliable

129 views
Skip to first unread message

Pete Davis

unread,
Dec 27, 2012, 8:50:41 AM12/27/12
to castle-pro...@googlegroups.com
I'll add a few more details.

I've checked that all the deployed DLLs are identical versions between the WCF service and the ASP.NET app. The version numbers for all castle DLLs and log4net match. 

I'm using the 1.2.10 version of log4net with the 1b44e1d426115821 key.

My WCF service and ASP.NET MVC app are separate IIS applications but exist in the same app pool, if that matters. The app pool runs under credentials that have access to the log table in the DB (obviously it has access since the WCF app can, at least, partially log).

What seems odd to me is that Castle is clearly populating the ILogger properties with loggers. They're just not all working. It's also rather odd that it works for some classes and not others inside the WCF service.

Pete Davis

unread,
Dec 27, 2012, 10:44:47 AM12/27/12
to castle-pro...@googlegroups.com
Well, this sucks. All of a sudden it's working and I have no idea which of the 150 changes I've made suddenly made it start working because the last few changes I made, I rolled back and it's still working and I don't want to undo all my changes because a lot of them I want to be permanent. Oh well, it works. Good enough for me.
Reply all
Reply to author
Forward
0 new messages