Rotate logs
Bug #1772159 reported by
pablo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coturn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
By default coturn rotates log but doesn't compress them and doesn't delete old one.
Log files will grow to take all the disk space after days/weeks.
Maybe add something like this:
turnserver.conf
log-file=
pidfile=
/etc/logrotate.
/var/log/turn/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/
endscript
}
To post a comment you must log in.