[logback-dev] [JIRA] Commented: (LBCORE-155) logback throws exception on solaris 10

Daniel Schwager (JIRA) noreply-jira at qos.ch
Sun Jun 6 21:50:16 CEST 2010


    [ http://jira.qos.ch/browse/LBCORE-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11763#action_11763 ] 

Daniel Schwager commented on LBCORE-155:
----------------------------------------

Hi Ceki,

sorry for the delay - was in holiday the last week.

The fileappender has recovered from the problem - yes.
First, i'm concern about the fact, that not all logging information are inside the logfile. 
Second, my java-wrapper (http://wrapper.tanukisoftware.org/) will inform me about
those failures. 

If there are many  threads running (using logback)  in concurrency, i get a lot of logback-exceptions.
I do also not know about the timing side-effects related to this exception-problem.

regards
Danny




> logback throws exception on solaris 10
> --------------------------------------
>
>                 Key: LBCORE-155
>                 URL: http://jira.qos.ch/browse/LBCORE-155
>             Project: logback-core
>          Issue Type: Bug
>    Affects Versions: 0.9.20
>         Environment: sun solaris 10, x86, jdk 1.6.0_20
>            Reporter: Daniel Schwager
>            Assignee: Logback dev list
>
> running logback on solaris 10 throw an excpetion.
> May it looks like the same problem of log4j:
>   https://issues.apache.org/bugzilla/show_bug.cgi?id=44157
>   (or - old one: https://issues.apache.org/bugzilla/show_bug.cgi?id=4861)
> Is there a fix ? Or do i have to move back to llog4j for this prog running on solaris10 ?
> INFO   | jvm 1    | 2010/05/25 23:29:59 | 23:29:59,396 |-ERROR in c.q.l.c.recovery.ResilientFileOutputStream at 540190 - IO failure while writing to file [/var/log/softwaredemo/storagecontroller-performance.log] java.io.InterruptedIOException
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at java.io.InterruptedIOException
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at java.io.FileOutputStream.writeBytes(Native Method)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at java.io.FileOutputStream.write(FileOutputStream.java:260)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.recovery.ResilientOutputStreamBase.write(ResilientOutputStreamBase.java:52)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at java.io.OutputStream.write(OutputStream.java:58)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.encoder.LayoutWrappingEncoder.doEncode(LayoutWrappingEncoder.java:103)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.OutputStreamAppender.writeOut(OutputStreamAppender.java:193)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.FileAppender.writeOut(FileAppender.java:220)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:216)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:148)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:108)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:91)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:64)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:275)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.classic.Logger.callAppenders(Logger.java:262)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:465)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:419)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at ch.qos.logback.classic.Logger.info(Logger.java:623)
> INFO   | jvm 1    | 2010/05/25 23:29:59 |       at      at de.example.foundation.cmd.observer.CommandDoneObserver.update(CommandDoneObserver.java:72)
> INFO 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list