[logback-user] Prudent mode logging to NFS-mounted file
ThomasSchuessler2 at Eaton.com
ThomasSchuessler2 at Eaton.com
Wed Dec 21 16:30:02 CET 2011
We seem to be losing quite a few log records in a clustered web
application writing to an NFS-mounted file with the configuration shown
below.
We are running logback-1.0.0. Any suggestions?
<appender name="file"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<append>true</append>
<prudend>true</prudend>
<encoder>
<pattern>%d ${HOSTNAME} [%t] %-5p %c - {%marker}
%m%n</pattern>
</encoder>
<rollingPolicy
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<maxHistory>10</maxHistory>
<fileNamePattern>/xxx/log-%d.log</fileNamePattern>
</rollingPolicy>
</appender>
--------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20111221/37b3c5e2/attachment.html>
More information about the Logback-user
mailing list