[manual] Write logs to /var/log/zulip rather than /var/log/humbug.

This requires a puppet apply to update the supervisor configuration.

(imported from commit f2836b6d9c53791af6f6ceb1650d0e0740df70ab)
This commit is contained in:
Tim Abbott 2013-09-25 14:11:33 -04:00
parent d706057ed8
commit 91750aa8a8
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ class StreamLogger(object):
self.logger.log(self.log_level, self.buffer.rstrip()) self.logger.log(self.log_level, self.buffer.rstrip())
self.buffer = "" self.buffer = ""
logging.basicConfig(filename="/var/log/humbug/feedback-bot.log", logging.basicConfig(filename="/var/log/zulip/feedback-bot.log",
level=logging.DEBUG, format="%(asctime)s %(levelname)s\t%(message)s") level=logging.DEBUG, format="%(asctime)s %(levelname)s\t%(message)s")
# The API prints to stdout, so capture and format those messages as well. # The API prints to stdout, so capture and format those messages as well.

View file

@ -7,5 +7,5 @@ stopsignal=TERM ; signal used to kill process (default TERM)
stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10) stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
user=humbug ; setuid to this UNIX account to run the program user=humbug ; setuid to this UNIX account to run the program
redirect_stderr=true ; redirect proc stderr to stdout (default false) redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/humbug/%(program_name)s.log ; stdout log path, NONE for none; default AUTO stdout_logfile=/var/log/zulip/%(program_name)s.log ; stdout log path, NONE for none; default AUTO
environment=HOME="/home/humbug",USER="humbug",KRB5CCNAME="/home/humbug/ccache/%(program_name)s" environment=HOME="/home/humbug",USER="humbug",KRB5CCNAME="/home/humbug/ccache/%(program_name)s"