Commit 35b050d3 authored by Sigmund Augdal's avatar Sigmund Augdal

Change bfd monitor back to silence requests, as it uses requests directly and doesn't use etcd

parent 3702ba5f
...@@ -36,7 +36,7 @@ def set_state(new_state): ...@@ -36,7 +36,7 @@ def set_state(new_state):
def main(logfile, interface): def main(logfile, interface):
logging.basicConfig(level=logging.INFO, logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(name)s %(levelname)s %(message)s') format='%(asctime)s %(name)s %(levelname)s %(message)s')
logging.getLogger("urllib3").setLevel(logging.WARNING) logging.getLogger("requests").setLevel(logging.WARNING)
if logfile: if logfile:
handler = logging.handlers.RotatingFileHandler(logfile, handler = logging.handlers.RotatingFileHandler(logfile,
maxBytes=10*1024**3, backupCount=5) maxBytes=10*1024**3, backupCount=5)
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