pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [incubator-pulsar] branch master updated: Made the logging file names uniform accross threaded and process modes (#1884)
Date Fri, 01 Jun 2018 06:14:00 GMT
This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 995a2ac  Made the logging file names uniform accross threaded and process modes (#1884)
995a2ac is described below

commit 995a2acb449b9494f8b8dce7e9d8618aabff1f44
Author: Sanjeev Kulkarni <sanjeevrk@gmail.com>
AuthorDate: Thu May 31 23:13:58 2018 -0700

    Made the logging file names uniform accross threaded and process modes (#1884)
---
 conf/log4j2.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/log4j2.yaml b/conf/log4j2.yaml
index d98cd49..57ce64f 100644
--- a/conf/log4j2.yaml
+++ b/conf/log4j2.yaml
@@ -126,8 +126,8 @@ Configuration:
                   -
                     RollingFile:
                       name: "Rolling-${ctx:function}"
-                      fileName : "${sys:pulsar.log.dir}/functions/${ctx:function}/function.log"
-                      filePattern : "${sys:pulsar.log.dir}/functions/${ctx:function}-%d{MM-dd-yyyy}-%i.log.gz"
+                      fileName : "${sys:pulsar.log.dir}/functions/${ctx:function}/${sys:pulsar.log.file}-${ctx:instance}.log"
+                      filePattern : "${sys:pulsar.log.dir}/functions/${sys:pulsar.log.file}-${ctx:instance}-%d{MM-dd-yyyy}-%i.log.gz"
                       PatternLayout:
                         Pattern: "%d{ABSOLUTE} %level{length=5} [%thread] [instance: %X{instance}]
%logger{1} - %msg%n"
                       Policies:

-- 
To stop receiving notification emails like this one, please contact
sijie@apache.org.

Mime
View raw message