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