diff options
author | Ava Chow <github@achow101.com> | 2024-06-26 15:28:26 -0400 |
---|---|---|
committer | Ava Chow <github@achow101.com> | 2024-06-26 15:28:26 -0400 |
commit | b27afb7fb774809c9c075d56e44657e0b607a00c (patch) | |
tree | 03888bebc853172be4991852d1e858341ebe4fdc /src/node/caches.cpp | |
parent | 9ac4f69ec24b66b75507f21591161ea8731d69fe (diff) | |
parent | 7d3662fbe35032178c5a5e27e73c592268f6e41b (diff) |
Merge bitcoin/bitcoin#29833: i2p: fix and improve logs
7d3662fbe35032178c5a5e27e73c592268f6e41b i2p: fix log when an interruption happens during `Accept` (brunoerg)
3d3a83fab2bcc5750e5c5854d121e943922fefd8 i2p: log errors properly according to their severity (brunoerg)
Pull request description:
This PR improves and fixes i2p logs (joint work with vasild).
- It replaces `LogPrint` to `LogPrintLevel` so we can log according to the severity.
- Fix log when interruption happens during `Accept`. Before this PR, when an interruption happens, it just logs "Error accepting:", no reason is logged as it does for other situations. This PR changes it to log "Accept interrupted".
- Log errors according to the severity. Stuff like creating SAM session, destroying SAM session, etc... are logged as 'debug'.
ACKs for top commit:
achow101:
ACK 7d3662fbe35032178c5a5e27e73c592268f6e41b
marcofleon:
ACK 7d3662fbe35032178c5a5e27e73c592268f6e41b.
vasild:
ACK 7d3662fbe35032178c5a5e27e73c592268f6e41b
Tree-SHA512: 1c3d92108dbc22833f37a78e18b4efd723433d10f28166d17c74eab884cd97e908b4e0a0908fd16288df895eb2eb480f781de37b2ec6a6d414abfb71e0c86fe2
Diffstat (limited to 'src/node/caches.cpp')
0 files changed, 0 insertions, 0 deletions