You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kevin Barranco (Jira)" <ji...@apache.org> on 2021/07/28 13:08:00 UTC

[jira] [Created] (NIFI-8952) Fix logback.xml BOOTSTRAP_FILE appender commentary

Kevin Barranco created NIFI-8952:
------------------------------------

             Summary: Fix logback.xml BOOTSTRAP_FILE appender commentary
                 Key: NIFI-8952
                 URL: https://issues.apache.org/jira/browse/NIFI-8952
             Project: Apache NiFi
          Issue Type: Wish
          Components: Configuration, Documentation &amp; Website
    Affects Versions: 1.13.2
         Environment: Any
            Reporter: Kevin Barranco


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

 
 
{code:java}
<!--               
      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'.             
-->{code}
 
 
The comment refers to the app-log. It should be changed to:
 
{code:java}
<!--               
      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'.             
-->
{code}
 
It is a small correction to avoid misinterpretation when configuring the logback.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)