Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8952

Fix logback.xml BOOTSTRAP_FILE appender commentary

    XMLWordPrintableJSON

Details

    Description

      All the logback.xml files that contains the appender BOOTSTRAP_FILE has the following comment:

       
       

      <!--               
            For daily rollover, use 'app_%d.log'.        
            For hourly rollover, use 'app_%d{yyyy-MM-dd_HH}.log'.       
            To GZIP rolled files, replace '.log' with '.log.gz'.       
            To ZIP rolled files, replace '.log' with '.log.zip'.             
      -->

       
       
      The comment refers to the app-log. It should be changed to:
       

      <!--               
            For daily rollover, use 'bootstrap_%d.log'.       
            For hourly rollover, use 'bootstrap_%d{yyyy-MM-dd_HH}.log'.       
            To GZIP rolled files, replace '.log' with '.log.gz'.       
            To ZIP rolled files, replace '.log' with '.log.zip'.             
      -->
      

       
      It is a small correction to avoid misinterpretation when configuring the logback.xml files.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kevinbsilva Kevin Barranco
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Time Spent - 20m Remaining Estimate - 40m
                  40m
                  Logged:
                  Time Spent - 20m Remaining Estimate - 40m
                  20m