Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log audit events to a Python logger as well as to the db-backed audit log #3218

Open
lunkwill42 opened this issue Nov 19, 2024 · 0 comments
Open
Labels
auditlog enhancement logging nav-ref Fronted by the NAV user reference committee

Comments

@lunkwill42
Copy link
Member

Is your feature request related to a problem? Please describe.

NAV audit logs various events initiated by operators to its internal audit log table in PostgreSQL. This record is closed off to NAV, and can only be inspected through the NAV web UI.

Describe the solution you'd like

All events logged to NAV's audit log should also be logged to a specific Python logger, so that this log output can also be directed to an on-disk file. This enables a site admin to ingest the log into a central logging system, if so desired.

Additional context

This wish was expressed by NTNU at a NAV reference committee meeting.

@lunkwill42 lunkwill42 added enhancement nav-ref Fronted by the NAV user reference committee logging auditlog labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auditlog enhancement logging nav-ref Fronted by the NAV user reference committee
Projects
None yet
Development

No branches or pull requests

1 participant