diff options
author | James Moger <james.moger@gitblit.com> | 2014-02-21 10:10:41 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-02-21 10:10:41 -0500 |
commit | aac5e7c070a6b16143e7a184f82e82a81973389e (patch) | |
tree | f00cd1bfc16c50da97b7dcb2fd0b94e4f07a4bd7 /src | |
parent | 6981232420503f532f90e3d3ab20d5a2ff4dd903 (diff) | |
download | gitblit-aac5e7c070a6b16143e7a184f82e82a81973389e.tar.gz gitblit-aac5e7c070a6b16143e7a184f82e82a81973389e.zip |
Add timestamp to the default log4j configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/log4j.properties | 4 |
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 #------------------------------------------------------------------------------ # |