You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by rg...@apache.org on 2017/11/08 23:45:28 UTC

flume git commit: Update configuration to match log4j 1.x

Repository: flume
Updated Branches:
  refs/heads/flume-2050 4bb5e88ec -> 6b6605c06


Update configuration to match log4j 1.x


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/6b6605c0
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/6b6605c0
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/6b6605c0

Branch: refs/heads/flume-2050
Commit: 6b6605c06ff09224378159aa5466b593c5876e28
Parents: 4bb5e88
Author: Ralph Goers <rg...@apache.org>
Authored: Wed Nov 8 16:45:07 2017 -0700
Committer: Ralph Goers <rg...@apache.org>
Committed: Wed Nov 8 16:45:07 2017 -0700

----------------------------------------------------------------------
 conf/log4j2.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/6b6605c0/conf/log4j2.xml
----------------------------------------------------------------------
diff --git a/conf/log4j2.xml b/conf/log4j2.xml
index d8df4c4..d203a24 100644
--- a/conf/log4j2.xml
+++ b/conf/log4j2.xml
@@ -25,7 +25,7 @@
       <PatternLayout pattern="%d (%t) [%p - %l] %m%n" />
     </Console>
     <RollingFile name="LogFile" fileName="${LOG_DIR}/flume.log" filePattern="${LOG_DIR}/archive/flume.log.%d{yyyyMMdd}-%i">
-      <PatternLayout pattern="%d{dd MMM yyyy HH:mm:ss,SSS} %-5p [%t] (%C.%M:%L) %equals{%x }{[] }{}- %m%n" />
+      <PatternLayout pattern="%d{dd MMM yyyy HH:mm:ss,SSS} %-5p [%t] (%C.%M:%L) %equals{%x}{[]}{} - %m%n" />
       <Policies>
         <!-- Roll every night at midnight or when the file reaches 100MB -->
         <SizeBasedTriggeringPolicy size="100 MB"/>