Skip to content

cxx/logging: only enable CMDP after name is set

Stephan Lachnit requested to merge p-disable-logging-if-no-name into main

Alternative to !289 (closed)

By default, the global CMDP log level is OFF, meaning no messages are forwarded to the CMDP sink. Only once the subscription thread starts, this log level will be adjusted. Thus the subscription thread is now started in the enableSending method of the sink, which also sets the name and registers the CHIRP service.

Merge request reports