diff options
author | Manuel Bentele | 2021-04-27 12:07:24 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-04-27 14:22:51 +0200 |
commit | d66f3877f1d4781a4fa465a220232ff772cc6a62 (patch) | |
tree | aa341d5bd8608e642f39950af210d2331bd23a50 /dozentenmodul/src/main/properties | |
parent | [client,server] Refactors and abstracts version information in config logic a... (diff) | |
download | tutor-module-d66f3877f1d4781a4fa465a220232ff772cc6a62.tar.gz tutor-module-d66f3877f1d4781a4fa465a220232ff772cc6a62.tar.xz tutor-module-d66f3877f1d4781a4fa465a220232ff772cc6a62.zip |
[client] Set log4j debug level for file (DEBUG) and console (INFO)
Diffstat (limited to 'dozentenmodul/src/main/properties')
-rw-r--r-- | dozentenmodul/src/main/properties/log4j.properties | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/dozentenmodul/src/main/properties/log4j.properties b/dozentenmodul/src/main/properties/log4j.properties index 21c0faed..8fa5e798 100644 --- a/dozentenmodul/src/main/properties/log4j.properties +++ b/dozentenmodul/src/main/properties/log4j.properties @@ -1,6 +1,13 @@ -log4j.rootLogger=DEBUG, A1 +# root level logging configuration +log4j.rootLogger=ALL, console -log4j.appender.A1=org.apache.log4j.ConsoleAppender -log4j.appender.A1.layout=org.apache.log4j.PatternLayout -log4j.appender.A1.layout.ConversionPattern=[%t] %-5p %F - %m%n -log4j.logger.org.apache.directory=ERROR +# NOTE: The file logging appender is added and configured by the Java +# implementation, since the logging file path and logic can only +# be realized by the implementation (using system properties). + +# configuration for console output +log4j.appender.console=org.apache.log4j.ConsoleAppender +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern=[%t] %-5p %F - %m%n +log4j.appender.console.encoding=UTF-8 +log4j.appender.console.Threshold=INFO |