Skip to content

Standardizes API logging behavior#583

Merged
djperrefort merged 12 commits into
mainfrom
rotate_audit
Jun 9, 2025
Merged

Standardizes API logging behavior#583
djperrefort merged 12 commits into
mainfrom
rotate_audit

Conversation

@djperrefort
Copy link
Copy Markdown
Member

@djperrefort djperrefort commented Jun 9, 2025

Standardizes the format, behavior, and treatment of different API log types (i.e., application, request, and audit logs).

Changes include:

  • Adds the application setting CONFIG_AUDIT_RETENTION for enabling audit log rotation in the same fashion as request and application logs.
  • Standardizes logs to use the timestamp for the record creation time.
  • Uses less than or equal to instead of less than when rotating log files.
  • Improves tests to individually validate the rotation of each log type.

@djperrefort djperrefort merged commit 4c36fd7 into main Jun 9, 2025
16 checks passed
@djperrefort djperrefort deleted the rotate_audit branch June 9, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant