Commit 96d96fae by Gabe Mulley

Configurable tracking log rotation (#3028)

parent 53dbc8f8
{{ COMMON_LOG_DIR }}/tracking/tracking.log { {{ COMMON_LOG_DIR }}/tracking/tracking.log {
{% for config in COMMON_TRACKING_LOG_ROTATION %}
{{ config }}
{% endfor %}
compress compress
create create
dateext dateext
...@@ -7,7 +10,6 @@ ...@@ -7,7 +10,6 @@
nodelaycompress nodelaycompress
notifempty notifempty
rotate 16000 rotate 16000
size 1M
postrotate postrotate
/usr/bin/killall -HUP rsyslogd /usr/bin/killall -HUP rsyslogd
endscript endscript
......
...@@ -171,3 +171,6 @@ common_close_all_caches: | ...@@ -171,3 +171,6 @@ common_close_all_caches: |
cache = django_cache.cache cache = django_cache.cache
if hasattr(cache, 'close'): if hasattr(cache, 'close'):
cache.close() cache.close()
COMMON_TRACKING_LOG_ROTATION:
- size 1M
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment