Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
96d96fae
Commit
96d96fae
authored
May 11, 2016
by
Gabe Mulley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configurable tracking log rotation (#3028)
parent
53dbc8f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
playbooks/roles/common/templates/etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2
+3
-1
playbooks/roles/common_vars/defaults/main.yml
+3
-0
No files found.
playbooks/roles/common/templates/etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2
View file @
96d96fae
{{ 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
...
...
playbooks/roles/common_vars/defaults/main.yml
View file @
96d96fae
...
...
@@ -171,3 +171,6 @@ common_close_all_caches: |
cache = django_cache.cache
if hasattr(cache, 'close'):
cache.close()
COMMON_TRACKING_LOG_ROTATION
:
-
size 1M
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment