ansible/roles/web-data-analysis/files/sync-http-logs-and-merge.sh
Nils Philippsen 6ecdab22c0 Clean up messages issued from sync-http-logs.py
Previously, the script was very talkative by default. Make the default
to be silent for log levels < WARNING and allow logging (at different
level) to syslog. Additionally, configure the cronjob to log everything
of levels >= INFO to syslog.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-09-22 10:49:30 +02:00

7 lines
184 B
Bash
Executable file

#!/bin/bash
# Don't attempt to combine if syncing the individual logs failed.
set -e
/usr/local/bin/sync-http-logs.py --syslog --syslog-verbosity=2
/usr/local/bin/combineHttpLogs.sh