From: Marius Gavrilescu Date: Sat, 8 Feb 2014 21:15:11 +0000 (+0200) Subject: Log to /var/log/gruntmaster instead of stderr X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=7759a0121d60b8af38f6567a9ebac4c657f228a7;p=gruntmaster-page.git Log to /var/log/gruntmaster instead of stderr --- diff --git a/log.conf b/log.conf index dbde8c9..68b6000 100644 --- 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