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>
This commit is contained in:
Nils Philippsen 2021-09-13 17:45:10 +02:00
parent 313674646d
commit 6ecdab22c0
2 changed files with 70 additions and 23 deletions

View file

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