Developer logs can be to set to trace level by adding the following line, as documented in ConfD User guide. trace
Is it possible to set log level to trace for the other logs such as netconfTraceLog, netconfLog & auditLog?
The reason for looking for trace log level is that after sending a Netconf Hello message, I want to check whether it has reached the ConfD and what is ConfD response.
Thank you @ cohult. I have a few follow-up questions. Please clarify
Does netconf.trace capture trace level logs by default?
Except devel.log, cannot we set the log level of the other Confd logs such as netconf.trace, netconf.log, confd.log & audit.log?
When my Netconf client sent Hello message, I did not find any logs in netconf.log or netconf.trace. But I see few logs in audit.log & packets captured by Wireshark (I am yet to decode the Wireshark packets, which are encrypted). What could be the reason for not seeing any logs in netconf.log & netconf.trace?
You enable the ConfD NETCONF trace log from the ConfD configuration file. See the confd.conf(5) man page for details.
quote=“simha, post:3, topic:4455”]
Except devel.log, cannot we set the log level of the other Confd logs such as netconf.trace, netconf.log, confd.log & audit.log?
[/quote]
Correct.
I believe you should see them. Try svettning the NETCONF trace log format to ”raw” in confd.conf.