add console appender definition

This commit is contained in:
Claudia Agache
2020-08-26 13:26:38 +03:00
parent f2d00fa2cb
commit d89b991ec1

View File

@@ -1,5 +1,12 @@
# Root logger option
log4j.rootLogger=INFO, file, stdout
log4j.rootLogger=INFO, Console, file
###### Console appender definition #######
# All outputs currently set to be a ConsoleAppender.
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d{HH:mm:ss.SSS} %-5p [%c{1}] %m%n
# Direct log messages to a log file
log4j.appender.file=org.apache.log4j.RollingFileAppender