LeadAssimilator opened a new issue, #247:
URL: https://github.com/apache/logging-log4net/issues/247

   Using %date/%utcdate with ABSOLUTE and ISO8601 causes one of the dates to 
not change:
   
   ```xml
   <appender name="Console" type="log4net.Appender.ConsoleAppender">
     <layout type="log4net.Layout.PatternLayout" value="%utcdate{ABSOLUTE} 
%utcdate{ISO8601}%n" />
   </appender>
   ```
   
   yields:
   ```
   06:48:26,722 2025-05-22 06:48:26,722
   06:48:27,725 2025-05-22 06:48:26,725
   ```
   
   While it is uncommon to have two dates in the same layout, the same problem 
also occurs if using two different appenders with different layouts, one with 
%date/utcdate{ABSOLUTE} and the other with {ISO8601}.
   
   Notice that which date gets partially stuck depends on the order they appear 
in the layout, or if using multiple appenders/layouts, the order in which the 
appenders are referenced.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to