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

Mate Szalay-Beko resolved ZOOKEEPER-4465.
-----------------------------------------
    Fix Version/s: 3.8.0
       Resolution: Fixed

Issue resolved by pull request 1814
[https://github.com/apache/zookeeper/pull/1814]

> 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
>             Fix For: 3.8.0
>
>          Time Spent: 1.5h
>  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)

Reply via email to