summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-02-21 10:10:41 -0500
committerJames Moger <james.moger@gitblit.com>2014-02-21 10:10:41 -0500
commitaac5e7c070a6b16143e7a184f82e82a81973389e (patch)
treef00cd1bfc16c50da97b7dcb2fd0b94e4f07a4bd7 /src
parent6981232420503f532f90e3d3ab20d5a2ff4dd903 (diff)
downloadgitblit-aac5e7c070a6b16143e7a184f82e82a81973389e.tar.gz
gitblit-aac5e7c070a6b16143e7a184f82e82a81973389e.zip
Add timestamp to the default log4j configuration
Diffstat (limited to 'src')
-rw-r--r--src/main/java/log4j.properties4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/log4j.properties b/src/main/java/log4j.properties
index dc6dd2b5..ea29bded 100644
--- a/src/main/java/log4j.properties
+++ b/src/main/java/log4j.properties
@@ -38,7 +38,7 @@ log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=WARN
#------------------------------------------------------------------------------
log4j.appender.S = org.apache.log4j.ConsoleAppender
log4j.appender.S.layout = org.apache.log4j.PatternLayout
-log4j.appender.S.layout.ConversionPattern = %-5p %m%n
+log4j.appender.S.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} [%-5p] %m%n
#------------------------------------------------------------------------------
#
@@ -51,7 +51,7 @@ log4j.appender.R.File = logs/gitblit.log
log4j.appender.R.Append = true
log4j.appender.R.DatePattern = '.'yyy-MM-dd
log4j.appender.R.layout = org.apache.log4j.PatternLayout
-log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n
+log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c-30{1} [%-5p] %m%n
#------------------------------------------------------------------------------
#