aboutsummaryrefslogtreecommitdiffstats
path: root/demo/app/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'demo/app/src/main/resources')
-rw-r--r--demo/app/src/main/resources/log4j.properties10
-rw-r--r--demo/app/src/main/resources/logging.properties8
2 files changed, 18 insertions, 0 deletions
diff --git a/demo/app/src/main/resources/log4j.properties b/demo/app/src/main/resources/log4j.properties
new file mode 100644
index 0000000..b3e5aa8
--- /dev/null
+++ b/demo/app/src/main/resources/log4j.properties
@@ -0,0 +1,10 @@
+log4j.rootLogger=DEBUG,Console
+
+log4j.appender.Console=org.apache.log4j.ConsoleAppender
+log4j.appender.Console.layout=org.apache.log4j.PatternLayout
+log4j.appender.Console.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n
+
+log4j.logger.org.apache.wicket=INFO
+log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO
+log4j.logger.org.apache.wicket.version=INFO
+log4j.logger.org.apache.wicket.RequestCycle=INFO
diff --git a/demo/app/src/main/resources/logging.properties b/demo/app/src/main/resources/logging.properties
new file mode 100644
index 0000000..6fe7cef
--- /dev/null
+++ b/demo/app/src/main/resources/logging.properties
@@ -0,0 +1,8 @@
+#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