mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 14:07:25 +00:00
disable HTTPConnection debugging
This commit is contained in:
parent
8ef7a46dac
commit
2ddee40d9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue