diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-05-24 19:52:49 +0200 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-05-25 11:26:15 +0200 |
commit | bd971bffb02c7b06aac9a479f7e5ed8f71de2bec (patch) | |
tree | ab24eb41471b950c57db65c3648e3c0c56a4a487 /src/wallet/coinselection.cpp | |
parent | 90e49c1ececd6296c6ec6109cea525a208c0626e (diff) | |
download | bitcoin-bd971bffb02c7b06aac9a479f7e5ed8f71de2bec.tar.xz |
logging: Unconditionally log levels >= WARN
Messages with level `WARN` or higher should be logged even when
the category is not provided with `-debug=`, to make sure important
warnings are not lost.
Diffstat (limited to 'src/wallet/coinselection.cpp')
-rw-r--r-- | src/wallet/coinselection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/coinselection.cpp b/src/wallet/coinselection.cpp index e710787a26..07df8d9fc8 100644 --- a/src/wallet/coinselection.cpp +++ b/src/wallet/coinselection.cpp @@ -307,7 +307,7 @@ std::optional<SelectionResult> KnapsackSolver(std::vector<OutputGroup>& groups, } } - if (LogAcceptCategory(BCLog::SELECTCOINS)) { + if (LogAcceptCategory(BCLog::SELECTCOINS, BCLog::Level::Debug)) { std::string log_message{"Coin selection best subset: "}; for (unsigned int i = 0; i < applicable_groups.size(); i++) { if (vfBest[i]) { |