Added verbosity level
This commit is contained in:
parent
f30d80b9b1
commit
f27b0804e2
@ -106,6 +106,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# Configure logging
|
# Configure logging
|
||||||
log_options = [logging.ERROR, logging.WARNING, logging.INFO, logging.DEBUG]
|
log_options = [logging.ERROR, logging.WARNING, logging.INFO, logging.DEBUG]
|
||||||
|
if 'VERBOSITY_LEVEL' in os.environ.keys() :
|
||||||
|
args.verbose = int(os.environ['VERBOSITY_LEVEL'])
|
||||||
if not args.verbose :
|
if not args.verbose :
|
||||||
args.verbose = 0
|
args.verbose = 0
|
||||||
if args.verbose > 3 :
|
if args.verbose > 3 :
|
||||||
|
Loading…
Reference in New Issue
Block a user