This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
debugging [2020/05/23 11:28] Andrew Zaborowski Variables summary |
debugging [2020/10/21 16:20] Andrew Zaborowski [Enabling iwd debug output] Add regexes to remove BSSIDs and SSIDs from @mps |
||
---|---|---|---|
Line 17: | Line 17: | ||
The above would only print debug messages from the station module. | The above would only print debug messages from the station module. | ||
+ | Sometimes users or developers will want to share debug logs with other developers to help in debugging. Some, who considered the SSIDs or MAC addresses (BSSIDs) in their debug logs sensitive, have used the following commands to filter the logs. IWD will eventually support doing this internally. | ||
+ | |||
+ | <code> | ||
+ | $ sed -E "s/([0-9a-fA-F]{2}:?){6}/11:22:33:44:55:66/" iwd.log | sed -e "s/SSID:\ .*, f/SSID: xxx f/" | sed 's/Added new Network .* security/Added new Network "xxx" security/' | ||
+ | </code> | ||
==== Enabling TLS Debugging ==== | ==== Enabling TLS Debugging ==== | ||