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

Fix : Incorrect MongoDB Connection Logs #1355

Merged
merged 20 commits into from
Jan 8, 2025

Conversation

coolwednesday
Copy link
Contributor

@coolwednesday coolwednesday commented Dec 31, 2024

  • Closes Incorrect Mongo Connection Logs  #1326

  • Replacing uri in logs with Host for mongo

  • This PR also updates the go.mod to fix security vulnerability issue, quoted as
    1.22 in pkg/gofr/datasource/mongo/go.mod does not match this syntax and there is no additional toolchain directive, which may cause some go commands to fail.

  • Description : As uri ,also has password and username .... it should not be present in the logs....hence replaced it with host config.

Umang01-hash
Umang01-hash previously approved these changes Dec 31, 2024
Umang01-hash
Umang01-hash previously approved these changes Jan 2, 2025
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
Umang01-hash
Umang01-hash previously approved these changes Jan 8, 2025
pkg/gofr/datasource/mongo/mongo_test.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo_test.go Outdated Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Show resolved Hide resolved
pkg/gofr/datasource/mongo/mongo.go Outdated Show resolved Hide resolved
@aryanmehrotra aryanmehrotra merged commit bd11406 into gofr-dev:development Jan 8, 2025
12 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.

Incorrect Mongo Connection Logs
4 participants