From: Marius Gavrilescu Date: Tue, 24 Feb 2015 19:56:31 +0000 (+0200) Subject: Move access log to a separate file X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=a99843fddcfd763a546bed4d16cfee5327e76e14;p=gruntmaster-page.git Move access log to a separate file --- diff --git a/log.conf b/log.conf index dbde8c9..a0f2bda 100644 --- a/log.conf +++ b/log.conf @@ -1,5 +1,11 @@ log4perl.category. = TRACE, stderr +log4perl.category.access = INFO, accesslog 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.accesslog = Log::Log4perl::Appender::File +log4perl.appender.accesslog.filename = /var/log/accesslog +log4perl.appender.accesslog.layout = Log::Log4perl::Layout::PatternLayout +log4perl.appender.accesslog.layout.ConversionPattern = %m%n