Skip to content

Commit

Permalink
Added todo to allow changing log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Lohrer committed Jan 2, 2024
1 parent 53697d7 commit 9349d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplipi/zeroconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

# TEST: use logging in this module
log = logging.getLogger(__name__)
log.setLevel(logging.INFO)
log.setLevel(logging.INFO) # TODO: allow changing log level higher up (as AmpliPi config?)
sh = logging.StreamHandler(sys.stderr)
sh.setFormatter(logging.Formatter('%(name)s: %(levelname)s - %(message)s'))
log.addHandler(sh)
Expand Down

0 comments on commit 9349d61

Please sign in to comment.