[ 
http://issues.apache.org/jira/browse/LOG4NET-84?page=comments#action_12423535 ] 
            
Tal G commented on LOG4NET-84:
------------------------------

I find myself again and again need to explain to others why a message with 
later time is located in the log file before a message with earlier time.
So I solved the problem by taking the Now instead of loggingEvent.TimeStamp 
after the synchronization phase on DatePatternConverter

> Allow messages to be printed in ascendant order according to date time.
> -----------------------------------------------------------------------
>
>                 Key: LOG4NET-84
>                 URL: http://issues.apache.org/jira/browse/LOG4NET-84
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: All
>            Reporter: Tal G
>            Priority: Minor
>
> In multi threading application, when letting log4net to print time 
> information before every message (for example with %d{HH:mm:ss.fff} layout), 
> it might print the messages not according to ascendant order.
> The reason is that the date time information is taken from 
> LoggingEventData.TimeStamp field that is update to Now before the 
> synchronization phase.
> That is only semantic issue, but it cause inconveniency to many.

-- 
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

        

Reply via email to