parent
a9553e9d3c
commit
b62f0fe251
3 changed files with 28 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||||||
|
/var/log/samba/*.log |
||||||
|
/var/log/samba/json/*.log |
||||||
|
/var/log/samba/log.*[!.][!xg][!z] |
||||||
|
{ |
||||||
|
daily |
||||||
|
rotate 180 |
||||||
|
notifempty |
||||||
|
compress |
||||||
|
missingok |
||||||
|
copytruncate |
||||||
|
} |
@ -1,7 +1,14 @@ |
|||||||
{{ seafile_root_dir }}/logs/*.log { |
{% for log in ['ccnet','controller','elasticsearch_deprecation','elasticsearch_index_indexing_slowlog','elasticsearch_index_search_slowlog','file_updates_sender','gunicorn_error','index','seafdav','seaf-fuse','seafile','seahub_email_sender','virus_scan'] %} |
||||||
|
{{ seafile_root_dir }}/logs/{{ log }} |
||||||
|
{% endfor %} |
||||||
|
{% for log in ['seafile_slow_rpc','seafile_slow_storage'] %} |
||||||
|
{{ seafile_root_dir }}/logs/slow_logs/{{ log }} |
||||||
|
{% endfor %} |
||||||
|
{ |
||||||
weekly |
weekly |
||||||
rotate 52 |
rotate 52 |
||||||
compress |
compress |
||||||
missingok |
missingok |
||||||
copytruncate |
copytruncate |
||||||
|
su seafile seafile |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue