puppet: Add tusd daily logrotation.

This commit is contained in:
Alex Vandiver 2024-10-04 19:09:37 +00:00 committed by Tim Abbott
parent 2571196899
commit 7ddcf3774b
2 changed files with 3 additions and 2 deletions

View File

@ -45,6 +45,7 @@
# built-in log rotation. # built-in log rotation.
/var/log/zulip/tornado-*.log /var/log/zulip/tornado-*.log
/var/log/zulip/tornado.log /var/log/zulip/tornado.log
/var/log/zulip/tusd.log
{ {
missingok missingok
rotate <%= @access_log_retention_days %> rotate <%= @access_log_retention_days %>

View File

@ -35,8 +35,8 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
user=zulip ; setuid to this UNIX account to run the program user=zulip ; 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/zulip/tusd.log ; stdout log path, NONE for none; default AUTO stdout_logfile=/var/log/zulip/tusd.log ; stdout log path, NONE for none; default AUTO
stdout_logfile_maxbytes=100MB ; max # logfile bytes b4 rotation (default 50MB) stdout_logfile_maxbytes=0 ; Rotated by logrotate
stdout_logfile_backups=10 ; # of stdout logfile backups (default 10) stdout_logfile_backups=0
stopasgroup=true ; Without this, we leak processes every restart stopasgroup=true ; Without this, we leak processes every restart
killasgroup=true ; Without this, we leak processes every restart killasgroup=true ; Without this, we leak processes every restart
directory=/home/zulip/deployments/current/ directory=/home/zulip/deployments/current/