log: Print warning about privacy-sensitive log info unconditionally

Also, fix whitespace in this function, while touching it. Can be
reviewed via the git option
--ignore-all-space
This commit is contained in:
MarcoFalke committed 2026-01-27 13:08:50 +01:00
1 parent f970cb39fb
commit fa9c92d7b6
1 file changed
+1 -3
+1 -3
View File
@@ -99,9 +99,7 @@ util::Result<void> SetLoggingCategories(const ArgsManager& args)
} }
} }
if (LogInstance().GetCategoryMask() != BCLog::NONE) { LogInfo("Log output may contain privacy-sensitive information. Be cautious when sharing logs.");
LogInfo("Debug logging is enabled (-debug). Additional log output may contain privacy-sensitive information. Be cautious when sharing logs.");
}
return {}; return {};
} }