Skip to content

Commit

Permalink
Issue 6599 - Implement option to write access log in jSON
Browse files Browse the repository at this point in the history
Description:

Add option to write access log in JSON

See design doc for more info:

https://www.port389.org/docs/389ds/design/accesslog-json-design.html

Relates: #6599

Reviewed by: progier & jchapman(Thanks!!)
  • Loading branch information
mreynolds389 committed Feb 12, 2025
1 parent 5e19dfe commit cde2379
Show file tree
Hide file tree
Showing 21 changed files with 1,201 additions and 143 deletions.
3 changes: 3 additions & 0 deletions dirsrvtests/tests/suites/logging/audit_json_logging_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ def get_log_event(inst, dn, op):
continue

event = audit_log.parse_line(line)
if 'header' in event:
# Skip header line
continue
if event['target_dn'].lower() == dn.lower() and op in event:
return event

Expand Down
Loading

0 comments on commit cde2379

Please sign in to comment.