Log4Net: Log with UTC times
问题 Using log4net 1.2.11.0 w/ .NET, how can I get the RollingFileAppender to output UTC dates? According to Apache it should be as easy as: <dateTimeStrategy type="log4net.Appender.RollingFileAppender+UniversalDateTime" /> Unfortunately this is not working. The entirety of my log4net configuration is: <log4net> <appender name="RollingFile" type="log4net.Appender.RollingFileAppender"> <file value="Log-.txt" /> <rollingStyle value="Date" /> <datePattern value="yyyyMMdd"/>