mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
log: Use LogWarning for non-critical logs
As per doc/developer-notes#logging, LogWarning should be used for severe problems that do not warrant shutting down the node
This commit is contained in:
@@ -103,7 +103,7 @@ enum Network ParseNetwork(const std::string& net_in) {
|
||||
if (net == "ipv6") return NET_IPV6;
|
||||
if (net == "onion") return NET_ONION;
|
||||
if (net == "tor") {
|
||||
LogPrintf("Warning: net name 'tor' is deprecated and will be removed in the future. You should use 'onion' instead.\n");
|
||||
LogWarning("Net name 'tor' is deprecated and will be removed in the future. You should use 'onion' instead.");
|
||||
return NET_ONION;
|
||||
}
|
||||
if (net == "i2p") {
|
||||
|
||||
Reference in New Issue
Block a user