Warning: This is the documentation for Wazuh 3.5. Check out the docs for the latest version of Wazuh!
logging¶
XML section name
<logging>
</logging>
This section shows how to configure the format of internal logs.
Options¶
log_format¶
Specifies the log format between JSON output (.json) or plain text (.log). It also can be set to output both formats at the same time, when both are formats are entered, separated by a comma.
Default value |
plain |
Allowed values |
|
Default configuration¶
<!-- Choose between plain or json format (or both) for internal logs -->
<logging>
<log_format>plain</log_format>
</logging>