-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Hello there!
I encountered an issue where, when creating a connection to MongoDB, the logs display the entire MongoDB connection string including the password.
At this line, you are masking the password in the logs:
| log.info(f"Using override mongodb password ******") |
However, shortly after, the full connection string including the password is logged at:
clearml-server/apiserver/database/__init__.py
Line 102 in 83a0485
| "Registering connection to %(alias)s (%(host)s)" % entry.to_struct() |
Could you please mask the sensitive information in this log output as well?
Example:
[2025-07-22 15:35:30,777] [9] [INFO] [clearml.database] Using override mongodb password ******
[2025-07-22 15:35:30,779] [9] [INFO] [clearml.database] Registering connection to auth-db (mongodb://myuser:[email protected]:27017/auth)
Metadata
Metadata
Assignees
Labels
No labels