Commit 38d4c7d0 by John Jarvis

conditional sync

parent a45565a8
......@@ -22,8 +22,9 @@
- name: Terminate existing s3 log sync
command: /usr/bin/pkill send-logs-to-s3 || true
- name: Send logs to s3
command: /edx/bin/send-logs-to-s3
- name: "Send tracking logs to s3 if it is not handled by logrotate"
shell: grep -q send-logs-to-s3 /etc/logrotate.d/hourly/tracking.log || /edx/app/aws/send-logs-to-s3 -d "/edx/var/log/tracking/*" -b "edx-stage-edx/logs/tracking"
# We only force a rotation of edx logs.
# Forced rotation of system logfiles will only
......
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