This is an automated email from the ASF dual-hosted git repository.
hubcio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/master by this push:
new 362bd7829 fix(server): note root password reset in generated password
log (#4217)
362bd7829 is described below
commit 362bd78295fc5df085e8410c77fe2ff29c71256b
Author: WeiChen <[email protected]>
AuthorDate: Fri Sep 18 21:13:18 2026 +0800
fix(server): note root password reset in generated password log (#4217)
---
core/server/src/boot/credentials.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/core/server/src/boot/credentials.rs
b/core/server/src/boot/credentials.rs
index 1b3ec3b4b..f7b7e8fb6 100644
--- a/core/server/src/boot/credentials.rs
+++ b/core/server/src/boot/credentials.rs
@@ -111,7 +111,9 @@ fn create_root_credentials() -> (String, String) {
let password = crypto::generate_secret(20..40);
// Through tracing, not stdout: this is the only time the operator can read
// the password, so it has to reach the log file too.
- warn!("Generated root user password: {password}");
+ warn!(
+ "Generated root user password: {password}. It is shown only once. To
reset it, stop the server and delete the data directory, or start the server
with --fresh. Both delete all stored data."
+ );
(
DEFAULT_ROOT_USERNAME.to_string(),
crypto::hash_password(&password),