Log level
This commit is contained in:
parent
d17552a644
commit
37188e852c
|
@ -42,7 +42,7 @@ def init_logging(*,
|
||||||
_log_handlers.append(console_handler)
|
_log_handlers.append(console_handler)
|
||||||
|
|
||||||
# Default log output
|
# Default log output
|
||||||
logging.basicConfig(force=True, level=level, format=_log_format, handlers=_log_handlers)
|
logging.basicConfig(force=True, level=logging.DEBUG, format=_log_format, handlers=_log_handlers)
|
||||||
|
|
||||||
def logger(*path: Iterable[str]) -> logging.Logger:
|
def logger(*path: Iterable[str]) -> logging.Logger:
|
||||||
logger = logging.getLogger("door_pi_control")
|
logger = logging.getLogger("door_pi_control")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user