Closed jangrewe closed 2 years ago
I just had a look at the code: there is nothing enforcing a special file extension.
It just opens the file you've specified and in case this did not work it should display an error. So it should work with audit.json
or at least tell you why that file cannot be used.
I've copied your logging config 1:1, but set it to log to
file:///var/log/nginx-sso/audit.json
, which didn't work. For some reason, it only works if i usefile:///var/log/nginx-sso/audit.jsonl
(notice thel
at the end).