From: Marius Gavrilescu Date: Tue, 24 Feb 2015 19:50:06 +0000 (+0200) Subject: Set access log format to combined X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=5ab9964f31fb5417c6da88f6b7308a808fc9d0e4;p=plack-app-gruntmaster.git Set access log format to combined --- diff --git a/app.psgi b/app.psgi index 0da0808..51fb98d 100644 --- a/app.psgi +++ b/app.psgi @@ -12,7 +12,7 @@ use Log::Log4perl; use Tie::Hash::Expire; use constant AUTH_TIMEOUT => 5 * 60; -use constant ACCESSLOG_FORMAT => '%{X-Forwarded-For}i|%h %u "%r" %>s %b "%{Referer}i" "%{User-agent}i"'; +use constant ACCESSLOG_FORMAT => 'combined'; use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' www.google-analytics.com; style-src 'self'; img-src 'self'; connect-src 'self',; our $db //= Gruntmaster::Data->connect($ENV{GRUNTMASTER_DSN} // 'dbi:Pg:');