]> iEval git - plack-app-gruntmaster.git/commitdiff
Update access log format
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 24 Feb 2015 19:52:41 +0000 (21:52 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 24 Feb 2015 19:56:11 +0000 (21:56 +0200)
app.psgi

index fd1bcac6e68776f6b2ae82b51df654c6d42e306c..42be500aba22b608d877f8850c1e6285c67641b6 100644 (file)
--- 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 => 'combined';
+use constant ACCESSLOG_FORMAT => '%{X-Forwarded-For}i %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"';
 use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' static.mindcoding.ro www.google-analytics.com; style-src 'self' static.mindcoding.ro; img-src 'self' static.mindcoding.ro www.google-analytics.com; connect-src 'self',;
 
 our $db //= Gruntmaster::Data->connect($ENV{GRUNTMASTER_DSN} // 'dbi:Pg:');
This page took 0.024201 seconds and 4 git commands to generate.