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:
1 file changed
+1
-3
+1
-3
@@ -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 {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user