logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChrisFromStPete <cwhan...@hotmail.com>
Subject Re: fileAppender.ActivateOptions generates NullReferenceException
Date Tue, 26 Jun 2012 19:56:20 GMT

ok, stupid question.  How do I generate a stack trace that includes log4net
classes?  This problem mostly happens in our prod environment, but I finally
captured it happening on a test server. The stack trace, however, only has
the following, It doesn't go into log4net libraries at all.


ChrisFromStPete wrote:
> So I'm calling fileAppender.ActivateOptions to change the log file name &
> it occasional generates a NullReferenceException, but the catch is that it
> only does it occasionally.  It usually works.  
> The posts I've all read involve issues that would lead
> fileAppender.ActivateOptions to fail all the time, not just at seemingly
> random moments.  Any thoughts on this?
> Thanks
View this message in context: http://old.nabble.com/fileAppender.ActivateOptions-generates-NullReferenceException-tp34051054p34074730.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

View raw message