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:09:00 UTC

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

     [ https://issues.apache.org/jira/browse/NIFI-8952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Barranco updated NIFI-8952:
---------------------------------
    Description: 
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.

  was:
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.


> 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
>            Priority: Trivial
>              Labels: documentation, easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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)