From cd71840942e1f94703d2d2e35251572b24bbbb7c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 17 Jul 2013 14:25:56 -0400 Subject: [PATCH] Use a better output filename for Django logs. (imported from commit 97d37d9167ac8463ea54fb7a75a3f923fc78edee) --- .../humbug/files/supervisord/conf.d/humbug.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/servers/puppet/modules/humbug/files/supervisord/conf.d/humbug.conf b/servers/puppet/modules/humbug/files/supervisord/conf.d/humbug.conf index 8f4cff7b82..cfbf1cdc65 100644 --- a/servers/puppet/modules/humbug/files/supervisord/conf.d/humbug.conf +++ b/servers/puppet/modules/humbug/files/supervisord/conf.d/humbug.conf @@ -24,15 +24,15 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10) ;stopasgroup=false ; send stop signal to the UNIX process group (default false) ;killasgroup=false ; SIGKILL the UNIX process group (def false) user=humbug ; setuid to this UNIX account to run the program -;redirect_stderr=true ; redirect proc stderr to stdout (default false) -stdout_logfile=/var/log/humbug/app.out ; stdout log path, NONE for none; default AUTO -stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) -stdout_logfile_backups=10 ; # of stdout logfile backups (default 10) +redirect_stderr=true ; redirect proc stderr to stdout (default false) +stdout_logfile=/var/log/humbug/django.log ; stdout log path, NONE for none; default AUTO +;stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) +;stdout_logfile_backups=10 ; # of stdout logfile backups (default 10) ;stdout_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) ;stdout_events_enabled=false ; emit events on stdout writes (default false) -stderr_logfile=/var/log/humbug/app.err ; stderr log path, NONE for none; default AUTO -stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) -stderr_logfile_backups=10 ; # of stderr logfile backups (default 10) +;stderr_logfile=/var/log/humbug/app.err ; stderr log path, NONE for none; default AUTO +;stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB) +;stderr_logfile_backups=10 ; # of stderr logfile backups (default 10) ;stderr_capture_maxbytes=1MB ; number of bytes in 'capturemode' (default 0) ;stderr_events_enabled=false ; emit events on stderr writes (default false) ;environment=A=1,B=2 ; process environment additions (def no adds)