[logback-user] Logback suddenly stopped logging

Alex Hoyos madhoyos at gmail.com
Wed Dec 23 01:37:24 CET 2009


which version are you using?

On Wed, Dec 16, 2009 at 11:39 AM, Jorge Morales Pou <
jorgemoralespou at gmail.com> wrote:

> We have logback configured with this configuration:
>
>    <appender name="FILE"
> class="ch.qos.logback.core.rolling.RollingFileAppender">
>       <Append>true</Append>
>       <file>logs/process.log</file>
>       <rollingPolicy
> class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
>
>  <FileNamePattern>logs/process-%d{yyyy-MM-dd_HH}.%i.log</FileNamePattern>
>          <TimeBasedFileNamingAndTriggeringPolicy
> class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
>             <MaxFileSize>1MB</MaxFileSize>
>          </TimeBasedFileNamingAndTriggeringPolicy>
>       </rollingPolicy>
>        <layout class="ch.qos.logback.classic.PatternLayout">
>
> <Pattern>%date|%level|%logger{10}|%msg|%throwable{5}%n</Pattern>
>       </layout>
>    </appender>
>
>
> The thing is that in our production environment (HP-UX) and under heavy
> load, logging was working fine for a time, and suddenly stop working.
>
> From the status we see this:
> INFO in c.q.l.co.rolling.helper.RenameUtil - Renaming file
> [/gp/log/process.log] to [/gp/log/process.2009-12-16_11.22.log], ERROR in
> ch.qos.logback.core.rolling.RollingFileAppender[FILE] - IO failure in
> appender java.io.InterruptedIOException: , WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Attempted to append
> to non started appender [FILE]., WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Attempted to append
> to non started appender [FILE]., WARN in
> ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Attempted to append
> to non started appender [FILE]., INFO in c.q.l.co.rolling.helper.RenameUtil
> - Renaming file [/gp/log/application.log] to
> [/gp/log/application.2009-12-16_11.log]]
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
>


-- 
Regards,

Alex Hoyos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20091222/07220c4d/attachment.html>


More information about the Logback-user mailing list