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

Disable logback log file deletion by setting maxHistory to zero

    XMLWordPrintable

Details

    Description

      crosspost: https://stackoverflow.com/questions/72246036/disable-logback-log-file-deletion-by-setting-maxhistory-to-zero

      I am trying to disable the log file deletion in logback. (we do an archiving to other storage mediums by some external way)

      I searched the documentation but found no way to accomplish this.

      However, the source code seems to depend on maxHistory flag set to 0 which means unbounded history. see and see.

      but hence I cannot find it documented anywhere, I am afraid to use so to be changed in the future without any declarations!

      So my question is, Is it documented somewhere I don't know about? if not, can you document it somewhere? 
       

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            mhewedy Mohammad Hewedy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: