Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-847

logback is overwriting the log file in the wrong appender

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 1.0.11
    • None
    • I'm using the following stack to run logback:

      • jcl-over-slf4j-1.7.5
      • log4j-over-slf4j-1.7.5
      • jul-to-slf4j-1.7.5
      • logback-classic-1.0.11
      • logback-core-1.0.11

    Description

      Hi There,

      I'm running the logback under the log using the log4j adapter.
      in the log4j.xml, I setup the logging with async appender which would write to fileRolling appender that would roll every hour.

      During the load, I found that I missed 1 hour worth of logging.
      When I look at the file, the new coming log file were actually overwritten the previously written log.

      I'm not sure if this is a bug in logback async or in the log4j adapter.

      Appreciate if someone can help me investigate this issue.

      Thanks.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            arvinstefanus arvin stefanus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: