Skip to content

[Patch 1] Fix repositories and logger#1

Open
vs0uz4 wants to merge 3 commits intodevfullcycle:masterfrom
vs0uz4:patch-1
Open

[Patch 1] Fix repositories and logger#1
vs0uz4 wants to merge 3 commits intodevfullcycle:masterfrom
vs0uz4:patch-1

Conversation

@vs0uz4
Copy link

@vs0uz4 vs0uz4 commented Dec 28, 2024

This pull request includes several updates to improve consistency, logging, and filtering in the codebase. The most important changes include fixing environment variable syntax, adding output paths for the logger, updating filter keys for MongoDB queries, and ensuring proper escaping of regex patterns.

Environment variable syntax fix:

  • cmd/auction/.env: Corrected syntax for MongoDB environment variables by changing colons to equal signs.

Logging improvements:

Filter key updates for MongoDB queries:

Regex pattern escaping:

Logging message format fix:

  • internal/infra/database/user/find_user.go: Changed the user ID format specifier from %d to %s in log messages to correctly handle string user IDs.This pull request includes several changes to improve logging, fix regex handling, and standardize field names in the database queries. The most important changes include adding output paths to the logger configuration, escaping product names in regex queries, and updating field names for consistency.

Improvements to logging:

Fixes to regex handling:

Standardization of field names:

fix envs mongoinitdbroot username and password
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