summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tweaker/log4perl.conf
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-05 04:19:45 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-05 04:19:45 (GMT)
commitad478aac7d0b4a7e45274de8d6eec9a2286ebacf (patch)
tree7aa43783803bd7bbf67677707fbe8d8757e62edf /abs/core-testing/tweaker/log4perl.conf
parentb881b4ebd6ae62fe8e00ea41b72aa11657ae38db (diff)
downloadlinhes_pkgbuild-ad478aac7d0b4a7e45274de8d6eec9a2286ebacf.zip
linhes_pkgbuild-ad478aac7d0b4a7e45274de8d6eec9a2286ebacf.tar.gz
linhes_pkgbuild-ad478aac7d0b4a7e45274de8d6eec9a2286ebacf.tar.bz2
packaged tweaker, but the src needs work as it expects debian and debian don't live here no more.
Diffstat (limited to 'abs/core-testing/tweaker/log4perl.conf')
-rw-r--r--abs/core-testing/tweaker/log4perl.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/core-testing/tweaker/log4perl.conf b/abs/core-testing/tweaker/log4perl.conf
new file mode 100644
index 0000000..3c0a5bb
--- /dev/null
+++ b/abs/core-testing/tweaker/log4perl.conf
@@ -0,0 +1,13 @@
+log4perl.logger = FATAL, ScreenLogger
+log4perl.logger.tweaker = INFO, FileLogger
+log4perl.logger.tweaker.script = WARN, FileLogger
+
+log4perl.appender.ScreenLogger = Log::Dispatch::Screen
+log4perl.appender.ScreenLogger.Threshold = FATAL
+log4perl.appender.ScreenLogger.layout = Log::Log4perl::Layout::PatternLayout
+log4perl.appender.ScreenLogger.layout.ConversionPattern=<%p> %F{1} - %m%n
+
+log4perl.appender.FileLogger = Log::Log4perl::Appender::File
+log4perl.appender.FileLogger.filename = /var/log/tweaker.log
+log4perl.appender.FileLogger.layout = Log::Log4perl::Layout::PatternLayout
+log4perl.appender.FileLogger.layout.ConversionPattern=%d <%p> %F{1}:%L %M - %m%n