1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Merge pull request #155 from YunoHost-Apps/fix_log_rotation

Fix log rotation
This commit is contained in:
Josue-T 2019-11-08 23:32:05 +01:00 committed by GitHub
commit eb383f2696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -15,8 +15,6 @@ handlers:
class: logging.handlers.RotatingFileHandler
formatter: precise
filename: /var/log/matrix-__APP__/homeserver.log
maxBytes: 104857600
backupCount: 10
filters: [context]
level: INFO
console:

View file

@ -244,7 +244,7 @@ then
# MAKE A CLEAN LOGROTATE CONFIG
#=================================================
ynh_use_logrotate --logfile /var/log/matrix-$app --non-append
ynh_use_logrotate --logfile /var/log/matrix-$app --nonappend
fi
#=================================================