Skip to content

Commit c048752

Browse files
committed
fix: rephrase the debug message when client username authentication is used
Signed-off-by: Rina Fujino <rina.fujino.23@gmail.com>
1 parent dad2734 commit c048752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/common/tedge_config/src/tedge_toml/tedge_config/mqtt_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl TryFrom<TEdgeMqttClientAuthConfig> for mqtt_channel::AuthenticationConfig {
120120

121121
// Provides client username/password for authentication.
122122
if let Some(username) = config.username {
123-
debug!(target: "MQTT", "Using client username: {username}");
123+
debug!(target: "MQTT", "Using client username authentication, configured via 'mqtt.client.auth.username')");
124124
authentication_config.set_username(username);
125125

126126
// Password can be set only when username is set.

0 commit comments

Comments
 (0)