diff options
author | nico <nico@magicbroccoli.de> | 2018-11-11 03:09:57 +0100 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2018-11-11 03:09:57 +0100 |
commit | 1b13bdfd926e394cab2a2edd15ecabf0afcc4cf2 (patch) | |
tree | 3798538b14cc67e7deed4adc44957b4cc4607019 | |
parent | b6b84108ed24939a78ed4f6240b830860967136f (diff) |
correct logging parameter
* fix loglevel be set to the correct logging parameter
-rwxr-xr-x | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -170,7 +170,7 @@ if __name__ == '__main__': args = parser.parse_args() # logging - logging.basicConfig(filename=args.logfile, level=logging.INFO, format='%(levelname)s: %(asctime)s: %(message)s') + logging.basicConfig(filename=args.logfile, level=args.loglevel, format='%(levelname)s: %(asctime)s: %(message)s') logger = logging.getLogger(__name__) # configfile |