Private key password is logged at debug level together with other HTTP[S]-based listener settings #9569
-
Describe the bugWhen the log level is set to debug, the password for the private key is found in the log. Reproduction steps
cat rabbitxxxxxxxxxxxxxxx.log Expected behaviorDesensitize the password of the private key, such as using *** instead Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I disagree. The purpose of debug logging is to inspect the state of the system. No one should run with this log level at all times. It is meant to be used in development and with Since debug logging is not on by default and the message is only logged at node startup time, I think we will leave it as is. Or we could not log any listener details at all, I don't have a strong opinion. |
Beta Was this translation helpful? Give feedback.
-
The team decided that no logging the options should be fine, that information was at some point much more relevant but not any more #9573. |
Beta Was this translation helpful? Give feedback.
I disagree.
The purpose of debug logging is to inspect the state of the system. No one should run with this log level at all times. It is meant to be used in development and with
rabbitmqctl set_log_level debug
. It is not the default log level unless you build and run a RabbitMQ node with Bazel or Make.Since debug logging is not on by default and the message is only logged at node startup time, I think we will leave it as is. Or we could not log any listener details at all, I don't have a strong opinion.