diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2014-03-10 13:31:15 +0200 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2014-03-10 13:31:15 +0200 |
commit | 4e7f1e58a8dce833005eac6b2798a0da1a10318b (patch) | |
tree | 3bceff80e58a715930c3d7cd2258707ba239a1d9 /demo/app/src | |
parent | 87267155edb2425981281d4e4c5fe833ebca3d0f (diff) | |
download | pf4j-4e7f1e58a8dce833005eac6b2798a0da1a10318b.tar.gz pf4j-4e7f1e58a8dce833005eac6b2798a0da1a10318b.zip |
update logging configuration
Diffstat (limited to 'demo/app/src')
-rw-r--r-- | demo/app/src/main/resources/log4j.properties | 15 | ||||
-rw-r--r-- | demo/app/src/main/resources/logging.properties | 8 |
2 files changed, 12 insertions, 11 deletions
diff --git a/demo/app/src/main/resources/log4j.properties b/demo/app/src/main/resources/log4j.properties index 3ac64fd..066d5e5 100644 --- a/demo/app/src/main/resources/log4j.properties +++ b/demo/app/src/main/resources/log4j.properties @@ -1,6 +1,15 @@ -log4j.rootLogger=DEBUG,Console +log4j.rootLogger=DEBUG, Console +# +# PF4J log +# +log4j.logger.ro.fortsoft.pf4j=DEBUG, Console +log4j.additivity.ro.fortsoft.pf4j=false + +# +# Appenders +# log4j.appender.Console=org.apache.log4j.ConsoleAppender log4j.appender.Console.layout=org.apache.log4j.PatternLayout -log4j.appender.Console.layout.conversionPattern=%-5p - %-32.32c{1} - %m\n - +#log4j.appender.Console.layout.conversionPattern=%-5p - %-32.32c{1} - %m\n +log4j.appender.Console.layout.ConversionPattern=%d %p %c - %m%n diff --git a/demo/app/src/main/resources/logging.properties b/demo/app/src/main/resources/logging.properties deleted file mode 100644 index 6fe7cef..0000000 --- a/demo/app/src/main/resources/logging.properties +++ /dev/null @@ -1,8 +0,0 @@ -#handlers = java.util.logging.ConsoleHandler -handlers = org.slf4j.bridge.SLF4JBridgeHandler - -# Set the default logging level for the root logger -.level = ALL - -# Set the default formatter for new ConsoleHandler instances -java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter |