summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fbgui.logging.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/fbgui.logging.conf b/fbgui.logging.conf
new file mode 100644
index 0000000..50986d7
--- /dev/null
+++ b/fbgui.logging.conf
@@ -0,0 +1,14 @@
+log4j.appender.SLA=SyslogAppender
+log4j.appender.SLA.layout=PatternLayout
+log4j.appender.SLA.layout.ConversionPattern=-4r -5p c{2} M.L x - m
+
+log4j.appender.FA=RollingFileAppender
+log4j.appender.FA.File=/tmp/fbgui.log
+log4j.appender.FA.MaxFileSize=1MB
+log4j.appender.FA.MaxBackupIndex=1
+log4j.appender.FA.layout=TTCCLayout
+log4j.appender.FA.layout.ContextPrinting=enabled
+log4j.appender.FA.layout.DateFormat=ISO8601
+
+log4j.rootLogger=DEBUG, SLA, FA
+