Add comment
This commit is contained in:
parent
1a13cbe592
commit
7c6397083c
1 changed files with 3 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ def serve_from_cli(argv: Optional[list[str]] = None) -> None:
|
|||
lt_config, internal_config = _full_config_from_args(args)
|
||||
|
||||
server = lt.ThingServer.from_config(lt_config)
|
||||
|
||||
# If we want debug logging from labthings, the --debug argument
|
||||
# must be used when starting the server.
|
||||
if args.debug:
|
||||
lt.logs.configure_thing_logger(logging.DEBUG)
|
||||
customise_server(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue