You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/02/10 01:29:00 UTC

[jira] [Updated] (ZOOKEEPER-4465) zooinspector logback pattern config add escape for '(' and ')'

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

ASF GitHub Bot updated ZOOKEEPER-4465:
--------------------------------------
    Labels: pull-request-available  (was: )

> zooinspector logback pattern config add escape for '(' and ')'
> --------------------------------------------------------------
>
>                 Key: ZOOKEEPER-4465
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4465
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 3.6.2
>            Reporter: qiang Liu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> zooinspect logback config file logback.xml currently use a pattern of this
>  
> {code:java}
> <pattern>%5p [%t] (%F:%L) - %m%n</pattern> {code}
> which not escape the '(' and ')', cause logback to ignore parts after ')'.
>  
>  
> according to logback documents, '(' and ')' is used for grouping, need escape by '\' if used as normal char
> [https://logback.qos.ch/manual/layouts.html#grouping|https://logback.qos.ch/manual/layouts.html#grouping] 
>  
> will create pr update it to 
> {code:java}
> <pattern>%5p [%t] \(%F:%L\) - %m%n</pattern> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)