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

Overwrite file contents when restarted

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.1.11, 1.2.3
    • None

    Description

      When I use RollingFileAppender and SizeAndTimeBasedRollingPolicy to set <append>true</append> and <file>log.log</file> at the same time, but when I stop and restart on the same day, the original contents of the log.log file are emptied, but the original content does not generate a rolling file, and you can't find the original content anywhere.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            axaxzzzzzz alinger
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: