-
Notifications
You must be signed in to change notification settings - Fork 38.7k
cli: Ignore libevent warnings #13394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
utACK 0231ef6 |
|
According to the below the default is to log message to stderr, do we want to keep logging the lower-level messages? Edit: here's the current default behavior https://github.com/libevent/libevent/blob/e83443ec67d45447296c2ce320620a07c88e1d32/log.c#L223 |
|
Yes, the messages go to stderr. Which is normally fine, at least they don't mess up the application output! |
|
Maybe send them to the |
|
No, bitcoin-cli should definitely not write to any debug log file.
|
|
@promag Can you test this? It's kind of blocked on that. |
|
Tested ACK 0231ef6 - it fixes my problem. @theuni how could I test the Before: After |
0231ef6 cli: Ignore libevent warnings (Cory Fields) Pull request description: Should fix rpc tests that fail due to an unclean stderr. Untested as I'm not seeing these warnings. @promag mind seeing if this fixes your problem? Tree-SHA512: fba5ae3f239b515e93e19f9c3eca659eb7fb21f1b1fec25b68285695bfd1ecbdcd9b2235543689aaf97bff85cbb762840f65365a67e791314e9a6b8db2c9e246
Summary: Should fix rpc tests that fail due to an unclean stderr. Backport of Bitcoin Core PR13394 bitcoin/bitcoin#13394 Test Plan: In a **macOS** terminal: ``` ./src/bitcoind -regtest ``` In another **macOS** terminal: ``` ./src/bitcoin-cli -regtest help ``` The following warning should not be seen in stdout/stderr: `[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0` Reviewers: Fabien, #bitcoin_abc, deadalnix Reviewed By: Fabien, #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D4005
Summary: Should fix rpc tests that fail due to an unclean stderr. Backport of Bitcoin Core PR13394 bitcoin/bitcoin#13394 Test Plan: In a **macOS** terminal: ``` ./src/bitcoind -regtest ``` In another **macOS** terminal: ``` ./src/bitcoin-cli -regtest help ``` The following warning should not be seen in stdout/stderr: `[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0` Reviewers: Fabien, #bitcoin_abc, deadalnix Reviewed By: Fabien, #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D4005
Summary: Should fix rpc tests that fail due to an unclean stderr. Backport of Bitcoin Core PR13394 bitcoin/bitcoin#13394 Test Plan: In a **macOS** terminal: ``` ./src/bitcoind -regtest ``` In another **macOS** terminal: ``` ./src/bitcoin-cli -regtest help ``` The following warning should not be seen in stdout/stderr: `[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0` Reviewers: Fabien, #bitcoin_abc, deadalnix Reviewed By: Fabien, #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D4005
0231ef6 cli: Ignore libevent warnings (Cory Fields) Pull request description: Should fix rpc tests that fail due to an unclean stderr. Untested as I'm not seeing these warnings. @promag mind seeing if this fixes your problem? Tree-SHA512: fba5ae3f239b515e93e19f9c3eca659eb7fb21f1b1fec25b68285695bfd1ecbdcd9b2235543689aaf97bff85cbb762840f65365a67e791314e9a6b8db2c9e246
Should fix rpc tests that fail due to an unclean stderr.
Untested as I'm not seeing these warnings. @promag mind seeing if this fixes your problem?