]> iEval git - gruntmaster-page.git/commitdiff
Log to /var/log/gruntmaster instead of stderr
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 8 Feb 2014 21:15:11 +0000 (23:15 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 8 Feb 2014 21:15:11 +0000 (23:15 +0200)
log.conf

index dbde8c99849fd272e94c9eb7ee599934edcd195f..68b600035f22fab0e6f5b920b7eb467be7bbb7e7 100644 (file)
--- a/log.conf
+++ b/log.conf
@@ -1,5 +1,6 @@
-log4perl.category. = TRACE, stderr
+log4perl.category. = TRACE, logfile
 
-log4perl.appender.stderr                          = Log::Log4perl::Appender::Screen
-log4perl.appender.stderr.layout                   = Log::Log4perl::Layout::PatternLayout
-log4perl.appender.stderr.layout.ConversionPattern = [%d] [%F{1}:%M{1}:%L] [%p] %m%n
+log4perl.appender.logfile                          = Log::Log4perl::Appender::File
+log4perl.appender.logfile.filename                 = /var/log/gruntmaster
+log4perl.appender.logfile.layout                   = Log::Log4perl::Layout::PatternLayout
+log4perl.appender.logfile.layout.ConversionPattern = [%d] [%M{2} %F{1}:%L] [%p] %m%n
This page took 0.024684 seconds and 4 git commands to generate.