aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j/src/test/resources/log4j2.properties
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2020-04-22 09:58:24 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2020-04-22 09:58:24 +0300
commitfd72b5389257ef2a38b71e5f0f45e09e26b3501a (patch)
tree3cc4de5ed8ea3ba2be88a8d65b46f1afa6742610 /pf4j/src/test/resources/log4j2.properties
parenta01cd8ac5b0b73dfb1c7a43d24be261aa2f13405 (diff)
downloadpf4j-fd72b5389257ef2a38b71e5f0f45e09e26b3501a.tar.gz
pf4j-fd72b5389257ef2a38b71e5f0f45e09e26b3501a.zip
Switch to Log4j2
Diffstat (limited to 'pf4j/src/test/resources/log4j2.properties')
-rw-r--r--pf4j/src/test/resources/log4j2.properties27
1 files changed, 27 insertions, 0 deletions
diff --git a/pf4j/src/test/resources/log4j2.properties b/pf4j/src/test/resources/log4j2.properties
new file mode 100644
index 0000000..958b8d2
--- /dev/null
+++ b/pf4j/src/test/resources/log4j2.properties
@@ -0,0 +1,27 @@
+#
+# Appenders
+#
+appender.console.type = Console
+appender.console.name = console
+appender.console.layout.type = PatternLayout
+#appender.console.layout.pattern = %-5p - %-32.32c{1} - %m\n
+appender.console.layout.pattern = %d %p %c - %m%n
+
+#
+# Loggers
+#
+
+# PF4J log
+logger.pf4j.name = org.pf4j
+logger.pf4j.level = debug
+logger.pf4j.additivity = false
+logger.pf4j.appenderRef.console.ref = console
+
+# !!! Uncomment below loggers when you are in trouble
+#logger.loader.name = org.pf4j.PluginClassLoader
+#logger.loader.level = trace
+#logger.finder.name = org.pf4j.AbstractExtensionFinder
+#logger.finder.level = trace
+
+rootLogger.level = debug
+rootLogger.appenderRef.console.ref = console