You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2013/05/29 19:57:18 UTC

svn commit: r1487571 - /hbase/trunk/conf/log4j.properties

Author: stack
Date: Wed May 29 17:57:18 2013
New Revision: 1487571

URL: http://svn.apache.org/r1487571
Log:
HBASE-8643 Do not log full classnames in logs, just the last two levels

Modified:
    hbase/trunk/conf/log4j.properties

Modified: hbase/trunk/conf/log4j.properties
URL: http://svn.apache.org/viewvc/hbase/trunk/conf/log4j.properties?rev=1487571&r1=1487570&r2=1487571&view=diff
==============================================================================
--- hbase/trunk/conf/log4j.properties (original)
+++ hbase/trunk/conf/log4j.properties Wed May 29 17:57:18 2013
@@ -24,7 +24,7 @@ log4j.appender.DRFA.DatePattern=.yyyy-MM
 log4j.appender.DRFA.layout=org.apache.log4j.PatternLayout
 
 # Pattern format: Date LogLevel LoggerName LogMessage
-log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c: %m%n
+log4j.appender.DRFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n
 
 # Rolling File Appender properties
 hbase.log.maxfilesize=256MB
@@ -38,7 +38,7 @@ log4j.appender.RFA.MaxFileSize=${hbase.l
 log4j.appender.RFA.MaxBackupIndex=${hbase.log.maxbackupindex}
 
 log4j.appender.RFA.layout=org.apache.log4j.PatternLayout
-log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c: %m%n
+log4j.appender.RFA.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n
 
 #
 # Security audit appender