From c4fd96738e948fd575603cd38561a00ef1730781 Mon Sep 17 00:00:00 2001 From: Diego Lendoiro Date: Mon, 13 Aug 2018 17:24:42 +0200 Subject: [PATCH] default logging is more verbose --- conf/passbolt.conf | 4 ++++ conf/supervisor/nginx.conf | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/conf/passbolt.conf b/conf/passbolt.conf index e20c7a6..7b3f453 100644 --- a/conf/passbolt.conf +++ b/conf/passbolt.conf @@ -12,6 +12,8 @@ server { root /var/www/passbolt/webroot; index index.php; + error_log /dev/stdout info; + access_log /dev/stdout; location / { try_files $uri $uri/ /index.php?$args; @@ -53,6 +55,8 @@ server { root /var/www/passbolt/webroot; index index.php; + error_log /dev/stdout info; + access_log /dev/stdout; location / { try_files $uri $uri/ /index.php?$args; diff --git a/conf/supervisor/nginx.conf b/conf/supervisor/nginx.conf index 09bb111..ea91d89 100644 --- a/conf/supervisor/nginx.conf +++ b/conf/supervisor/nginx.conf @@ -1,8 +1,8 @@ [program:nginx] -command=nginx -g "daemon off;" +command=/usr/sbin/nginx -g 'daemon off;' autostart=true priority=10 -stdout_logfile=/var/log/nginx/access.log +stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 -stderr_logfile=/var/log/nginx/error.log +stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0