mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 12:17:47 +00:00
[cli] document mdns verboselogging command (#11809)
This commit adds documentation for the new `mdns verboselogging` CLI command.
This commit is contained in:
@@ -116,6 +116,7 @@ mDNS IPv6 address result for test-host
|
||||
- [txtresolvers](#txtresolvers)
|
||||
- [unicastquestion](#unicastquestion)
|
||||
- [unregister](#unregister)
|
||||
- [verboselogging](#verboselogging)
|
||||
|
||||
## Command Details
|
||||
|
||||
@@ -654,3 +655,26 @@ Done
|
||||
> mdns unregister key my-inst _test._udp
|
||||
Done
|
||||
```
|
||||
|
||||
### verboselogging
|
||||
|
||||
Usage: `mdns verboselogging [enable|disable]`
|
||||
|
||||
Requires `OPENTHREAD_CONFIG_MULTICAST_DNS_VERBOSE_LOGGING_ENABLE`.
|
||||
|
||||
Enables or disables verbose logging for the mDNS module at run-time.
|
||||
|
||||
When enabled, the mDNS module emits verbose logs for every sent or received mDNS message, including the header and all question and resource records. These logs are generated regardless of the current log level configured on the device.
|
||||
|
||||
This feature can generate a large volume of logs, so its use is recommended only during development, integration, or debugging.
|
||||
|
||||
The initial state of verbose logging (enabled or disabled at startup) is determined by the configuration `OPENTHREAD_CONFIG_MULTICAST_DEFAULT_DNS_VERBOSE_LOGGING_STATE`.
|
||||
|
||||
```bash
|
||||
> mdns verboselogging enable
|
||||
Done
|
||||
|
||||
> mdns verboselogging
|
||||
Enabled
|
||||
Done
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user