logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kinnar <Kinnar.S...@NavmanWireless.com>
Subject Re: Rolling File Operation : Failing with Source does not exist
Date Thu, 17 Mar 2016 05:12:28 GMT
Hi Dominik,

Please find appender configuration for which we are facing the problem as
below : 

 <appender name="MessageAppender"
      <threshold value="INFO"/>
      <file value="${SystemDrive}\[some folder name]\[file name].txt"/>
      <appendToFile value="true"/>
      <maximumFileSize value="500MB"/>
      <staticLogFileName value="true"/>
      <maxSizeRollBackups value="10"/>
      <datePattern value="_yyyyMMdd-HH&quot;.txt&quot;"/>
      <rollingStyle value="Composite"/>
      <preserveLogFileNameExtension value="true"/>
      <layout type="log4net.Layout.PatternLayout">
type="log4net.Appender.RollingFileAppender+UniversalDateTime" />

Thanks in advance.


View this message in context: http://apache-logging.6191.n7.nabble.com/Rolling-File-Operation-Failing-with-Source-does-not-exist-tp62802p62877.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

View raw message