mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-02-03 13:54:28 +01:00
disable HTTPConnection debugging
This commit is contained in:
parent
8ef7a46dac
commit
2ddee40d9d
|
|
@ -43,7 +43,7 @@ def run(typ,freq,data):
|
|||
logging.debug("connect to BosMon")
|
||||
httprequest = httplib.HTTPConnection(globals.config.get("BosMon", "bosmon_server"), globals.config.get("BosMon", "bosmon_port"))
|
||||
#debug-level to shell (0=no debug|1)
|
||||
httprequest.set_debuglevel(1)
|
||||
httprequest.set_debuglevel(0)
|
||||
except:
|
||||
logging.exception("cannot connect to BosMon")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue