Commit 96d96fae by Gabe Mulley

Configurable tracking log rotation (#3028)

parent 53dbc8f8
{{ COMMON_LOG_DIR }}/tracking/tracking.log {
{% for config in COMMON_TRACKING_LOG_ROTATION %}
{{ config }}
{% endfor %}
compress
create
dateext
......@@ -7,7 +10,6 @@
nodelaycompress
notifempty
rotate 16000
size 1M
postrotate
/usr/bin/killall -HUP rsyslogd
endscript
......
......@@ -171,3 +171,6 @@ common_close_all_caches: |
cache = django_cache.cache
if hasattr(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