Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4465

zooinspector logback pattern config add escape for '(' and ')'

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      zooinspect logback config file logback.xml currently use a pattern of this

       

      <pattern>%5p [%t] (%F:%L) - %m%n</pattern> 

      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 

       

      will create pr update it to 

      <pattern>%5p [%t] \(%F:%L\) - %m%n</pattern> 

       

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            iamgd67 qiang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m

                Slack

                  Issue deployment