[ http://issues.apache.org/jira/browse/LOG4NET-32?page=all ]
Nicko Cadell reassigned LOG4NET-32:
-----------------------------------
Assign To: Nicko Cadell
> AdoNetAppender losing first entry
> ---------------------------------
>
> Key: LOG4NET-32
> URL: http://issues.apache.org/jira/browse/LOG4NET-32
> Project: Log4net
> Type: Bug
> Components: Appenders
> Versions: 1.2.9
> Environment: VB.Net 2003, .Net 1.1.4322 SP1, SQL Server 2000, Windows XP Pro
> Reporter: Richard Gee
> Assignee: Nicko Cadell
>
> AdoNetAppender is losing the first log entry, caused by the entry being
> discarded as the underlying buffer cycles for the first time.
> Probable error at line 400 in BufferingAppenderSkeleton.cs:
> if (discardedLoggingEvent != null && m_lossyEvaluator != null &&
> m_lossyEvaluator.IsTriggeringEvent(discardedLoggingEvent))
> If you don't give a lossy evaluator the event is discarded, regardless of
> whether the buffer is lossy or not. This line should also check if the
> buffer is lossy, and send the discarded event if it isn't:
> if (discardedLoggingEvent != null && (!m_lossy || (m_lossyEvaluator != null
> && m_lossyEvaluator.IsTriggeringEvent(discardedLoggingEvent))))
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira