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:
commit
eb383f2696
2 changed files with 1 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue