Skip to content
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

Reduce log level of two messages which frequently fill user's log. #39

Merged
merged 1 commit into from Dec 29, 2022
Merged

Conversation

ghost
Copy link

@ghost ghost commented Dec 14, 2022

Bisq can get into a state where it checks for network peers constantly, filling the logs with the connection attempts. e.g. Peer discovery didn't provide us any more peers, will try again in 10000ms According to the log message, there should be a 10000ms delay between connection attempts, but examples clearly contradict this. The problem with these messages spamming all 20 logfiles is that it prevents other, valid trade issues from being investigated. A high percentage of supplied user logs contain examples of this. I'm hoping this can be fixed in Bisq's fork of BitcoinJ.

Fixes bisq-network/bisq#5996

Bisq can get into a state where it checks for network peers
constantly, filling the logs with the connection attempts. e.g.
Peer discovery didn't provide us any more peers, will try again in
10000ms According to the log message, there should be a 10000ms delay
between connection attempts, but examples clearly contradict this.
The problem with these messages spamming all 20 logfiles is that it
prevents other, valid trade issues from being investigated. A high
percentage of supplied user logs contain examples of this.
I'm hoping this can be fixed in Bisq's fork of BitcoinJ.
@pazza83
Copy link

pazza83 commented Dec 14, 2022

This would be really great to get fixed. Sometimes when a user is having issues with an open trade on Bisq they have to rely on being able to provide their logs to support so a delayed payout for the trade can be created.

If the user ends of providing logs with multiple 10000ms delay messages it ends up filling up their logs and reduces the chance of being able to ascertain the delayed payout information needed to send the BTC from the trade multisig to the donation address.

@HenrikJannsen
Copy link

You could do it also via the logback file
<logger name="core.src.main.java.org.bitcoinj.core.PeerGroup" level="DEBUG"/>

@alejandrogarcia83
Copy link
Collaborator

utACK

@gabernard Could you merge this, please?

Copy link

@HenrikJannsen HenrikJannsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No connection, Peer discovery message fills 220Mb of log in short period of time
4 participants