fix(itho_i2c): make loglevel in itho_i2c module adjustable
This commit is contained in:
parent
7a1140e26c
commit
1ffd5a72d7
2 changed files with 6 additions and 0 deletions
|
@ -434,6 +434,7 @@ def main():
|
|||
|
||||
if args.loglevel:
|
||||
logger.setLevel(args.loglevel.upper())
|
||||
logging.getLogger("itho_i2c").setLevel(args.loglevel.upper())
|
||||
|
||||
if args.timestamp:
|
||||
stdout_log_handler.setFormatter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue