Skip to content

feat(logging): enhance logger configuration and add access logging mi…#6

Merged
MohamadObeid9 merged 1 commit into
mainfrom
go-backend-migration
Jun 25, 2026
Merged

feat(logging): enhance logger configuration and add access logging mi…#6
MohamadObeid9 merged 1 commit into
mainfrom
go-backend-migration

Conversation

@MohamadObeid9

Copy link
Copy Markdown
Owner

…ddleware

  • Updated the logger initialization to include log level configuration based on environment settings.
  • Modified the configuration structure to support log level settings.
  • Introduced new middleware for access logging, allowing for selective logging based on request paths and methods.
  • Added tests for access logging decisions to ensure correct behavior across various scenarios.
  • Updated rate limiting middleware to include the new sitemap.xml path in exempt routes.

…ddleware

- Updated the logger initialization to include log level configuration based on environment settings.
- Modified the configuration structure to support log level settings.
- Introduced new middleware for access logging, allowing for selective logging based on request paths and methods.
- Added tests for access logging decisions to ensure correct behavior across various scenarios.
- Updated rate limiting middleware to include the new sitemap.xml path in exempt routes.
@MohamadObeid9 MohamadObeid9 merged commit 7b50d76 into main Jun 25, 2026
6 checks passed
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