From 06155a70d8fa2d63a276a6133be65d02d16919fc Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 29 May 2013 17:57:18 +0000 Subject: [PATCH] HBASE-8643 Do not log full classnames in logs, just the last two levels git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1487571 13f79535-47bb-0310-9956-ffa450edef68 --- conf/log4j.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/log4j.properties b/conf/log4j.properties index 3acebd18d3a..9d59c6ebd57 100644 --- a/conf/log4j.properties +++ b/conf/log4j.properties @@ -24,7 +24,7 @@ log4j.appender.DRFA.DatePattern=.yyyy-MM-dd 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.log.maxfilesize} 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