Can all audit logs could get created as a single file?

Hi @cohult

Can all Logs as audit.log,confd.log,netconf.log,netconf.trace,devel.log etc can be created in a single log file by changing file name in confd.conf?
Is it advisable??
Also is there any support for log rotation?

<auditLog>
  <enabled>true</enabled>
  <file>
    <enabled>true</enabled>
    <name>./audit.log</name>
  </file>
  <syslog>
    <enabled>true</enabled>
  </syslog>
</auditLog>

<errorLog>
  <enabled>true</enabled>
  **<filename>./confderr.log</filename>**
</errorLog>

<!-- The netconf log can be used to troubleshoot NETCONF operations,
     such as checking why e.g. a filter operation didn't return the
     data requested.
-->
<netconfLog>
  <enabled>true</enabled>
  <file>
    <enabled>true</enabled>
    **<name>./netconf.log</name>**
  </file>
  <syslog>
    <enabled>false</enabled>
  </syslog>
</netconfLog>

<webuiBrowserLog>
  <enabled>true</enabled>
  <filename>./browser.log</filename>
</webuiBrowserLog>

<webuiAccessLog>
  <enabled>true</enabled>
  <dir>./</dir>
</webuiAccessLog>

<netconfTraceLog>
  <enabled>true</enabled>
  **<filename>./netconf.trace</filename>**
  <format>pretty</format>
</netconfTraceLog>

Use syslog instead.
Links to an NSO rsyslog based example (works the same way with ConfD, enable syslog for the logs in confd.conf):

Also add something like this to your confd.conf if it is not there already:

<logs>
  <syslogConfig>
  <facility>daemon</facility>
  </syslogConfig>
   ...
</logs>