Closed nfi closed 6 years ago
Could this also benefit from the runtime levels used by the shell?
Yes. By default in Contiki-NG when DTLS is used with CoAP, the DTLS log level is set to the same as the CoAP log level. This means that setting the CoAP log level from the shell will also control the DTLS log output.
As reported in #2, the compile based logging that is now used by default is not runtime configurable.
Removed the command line argument to specify log level from tests/dtls-client and tests/dtls-server and instead added a make option to specify the log level when compiling: