aboutsummaryrefslogtreecommitdiff
path: root/work/cfg/log4j.properties
diff options
context:
space:
mode:
Diffstat (limited to 'work/cfg/log4j.properties')
-rw-r--r--work/cfg/log4j.properties24
1 files changed, 24 insertions, 0 deletions
diff --git a/work/cfg/log4j.properties b/work/cfg/log4j.properties
new file mode 100644
index 0000000..83f4921
--- /dev/null
+++ b/work/cfg/log4j.properties
@@ -0,0 +1,24 @@
+# An example log4j configuration file that outputs to System.out. The
+# output information consists of relative time, log level, thread
+# name, logger name, nested diagnostic context and the message in that
+# order.
+
+# For the general syntax of property based configuration files see the
+# documenation of org.apache.log4j.PropertyConfigurator.
+
+log4j.rootLogger=WARN, CA, FA
+
+# CA is set to be a ConsoleAppender which outputs to System.out.
+log4j.appender.CA=org.apache.log4j.ConsoleAppender
+log4j.appender.CA.layout=org.apache.log4j.PatternLayout
+log4j.appender.CA.layout.ConversionPattern=%d{ISO8601} %-4r %-5p [%t] %37c %3x - %m%n
+
+# FA is set to be a FileAppender which outputs to the corresponding log file
+log4j.appender.FA=org.apache.log4j.FileAppender
+log4j.appender.FA.File=logs\\pdf-as.log
+log4j.appender.FA.Append=true
+log4j.appender.FA.layout=org.apache.log4j.PatternLayout
+log4j.appender.FA.layout.ConversionPattern=%d{ISO8601} %-4r %-5p [%t] %c: %m%n
+
+
+log4j.logger.at.knowcenter.wag.egov.egiz=DEBUG \ No newline at end of file