Commit f69d45c8 authored by Sigmund Augdal's avatar Sigmund Augdal

Prevent warnings from creating cron job spam for clean_stale.py

parent feacf0e4
......@@ -36,6 +36,7 @@ def main():
setupLogfile(args.logfile)
logging.getLogger("").setLevel(logging.INFO)
logging.getLogger("urllib3").setLevel(logging.WARNING)
logging.captureWarnings(True)
else:
logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(name)s %(levelname)s %(message)s')
......
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