Removed the use of the DEBUG environmant variable, kept only MUNIN_DEBUG
This commit is contained in:
parent
eb9681a7cc
commit
e29c89c0fa
|
@ -124,8 +124,7 @@ import time
|
|||
|
||||
plugin_version = "1.0.0"
|
||||
|
||||
debug = int(os.getenv('MUNIN_DEBUG', os.getenv('DEBUG', 0))) > 0
|
||||
if debug:
|
||||
if int(os.getenv('MUNIN_DEBUG', 0)) > 0:
|
||||
logging.basicConfig(level=logging.DEBUG,
|
||||
format='%(asctime)s %(levelname)-7s %(message)s')
|
||||
|
||||
|
|
Loading…
Reference in New Issue