Tried to follow the guide in:
Nothing happens. audit.log is not written. We have Enterprise license.
How do I really enable it, so everything possible (except debug) is written to it?
Tried to follow the guide in:
Nothing happens. audit.log is not written. We have Enterprise license.
How do I really enable it, so everything possible (except debug) is written to it?
@deemon If you want audit logging, you can put this block in the `ExperimentalAuditSettings.AdvancedLoggingJSON` section of your config:
{
"file_1": {
"type": "file",
"format": "plain",
"levels": [
{ "id": 100, "name": "audit-api" },
{ "id": 101, "name": "audit-content" },
{ "id": 102, "name": "audit-permissions" },
{ "id": 103, "name": "audit-cli" }
],
"options": {
"compress": true,
"filename": "./logs/audit.log",
"max_age": 1,
"max_backups": 10,
"max_size": 500
},
"maxqueuesize": 1000
}
You can change the output file path or name as needed. Log levels like “debug” don’t work for audit logging, which is different than the main logger.