pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] sijie closed pull request #2482: Fix log4j conf
Date Tue, 04 Sep 2018 18:15:26 GMT
sijie closed pull request #2482: Fix log4j conf
URL: https://github.com/apache/incubator-pulsar/pull/2482
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/conf/log4j2.yaml b/conf/log4j2.yaml
index ab2b9abc0f..45ed5d9940 100644
--- a/conf/log4j2.yaml
+++ b/conf/log4j2.yaml
@@ -35,10 +35,6 @@ Configuration:
         value: "info"
       - name: "pulsar.routing.appender.default"
         value: "Console"
-      - name: "bk.log.level"
-        value: "info"
-      - name: "bk.log.appender"
-        value: "BkRollingFile"
 
   # Example: logger-filter script
   Scripts:
@@ -85,34 +81,6 @@ Configuration:
             IfLastModified:
               age: 30d
 
-    # Rolling file appender configuration for bk
-    RollingRandomAccessFile:
-      name: BkRollingFile
-      fileName: "${sys:pulsar.log.dir}/${sys:pulsar.log.file}.bk"
-      filePattern: "${sys:pulsar.log.dir}/${sys:pulsar.log.file}.bk-%d{MM-dd-yyyy}-%i.log.gz"
-      immediateFlush: true
-      PatternLayout:
-        Pattern: "%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"
-      Policies:
-        TimeBasedTriggeringPolicy:
-          interval: 1
-          modulate: true
-        SizeBasedTriggeringPolicy:
-          size: 1 GB
-        # Trigger every day at midnight that also scan
-        # roll-over strategy that deletes older file
-        CronTriggeringPolicy:
-          schedule: "0 0 0 * * ?"
-      # Delete file older than 30days
-      DefaultRolloverStrategy:
-          Delete:
-            basePath: ${sys:pulsar.log.dir}
-            maxDepth: 2
-            IfFileName:
-              glob: "*/${sys:pulsar.log.file}.bk*log.gz"
-            IfLastModified:
-              age: 30d
-
     # Routing
     Routing:
       name: RoutingAppender
@@ -173,24 +141,6 @@ Configuration:
         AppenderRef:
           - ref: Console
 
-      - name: org.apache.bookkeeper
-        level: "${sys:bk.log.level}"
-        additivity: false
-        AppenderRef:
-          - ref: "${sys:bk.log.appender}"
-
-      - name: org.apache.distributedlog
-        level: "${sys:bk.log.level}"
-        additivity: false
-        AppenderRef:
-          - ref: "${sys:bk.log.appender}"
-
-      - name: org.apache.zookeeper
-        level: "${sys:bk.log.level}"
-        additivity: false
-        AppenderRef:
-          - ref: "${sys:bk.log.appender}"
-
       - name: verbose
         level: info
         additivity: false


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message