blockchain – What to search for in Bitcoin-core logfile when one thing unhealthy occurs

0
61


I’ve seen a suggestion to learn the log …

That may be a good suggestion.

Usually it would not be wanted. This system ought to clarify to the person when it’s unable to do one thing. Nonetheless when you have been deleting, renaming or shifting it is knowledge information, you might be undermining it is foundations in a means that this system designers will not have anticipated – in these circumstances, a logfile is an effective place to look to attempt to perceive what the issue is.

For any program, not simply bitcoin core, you may verify for program choices to extend the quantity of knowledge logged – for instance there could be a debug possibility – typically a -d or -debug command-line flag.

… however truthfully I am unsure what I am in search of.

You’re in search of something that appears like a serious error somewhat than routine exercise. Principally indicated by phrases like “error”, “failed”, “unable”, “denied” and so forth.

You’re additionally in search of messages relating the the motion you took simply earlier than the undesirable behaviour occurred. In your instance, you clicked “Open pockets” so you might be in search of messages that include the phrase “pockets” or “file” or “open”. In Bitcoin core you already know the pockets is saved in a file named “pockets.dat” so that may be a good factor to search for.

More than likely these messages are close to the top of the log file, in order that could be a superb place to start out trying.

For those who discover strains within the log file that look attention-grabbing, additionally have a look at close by strains to get a way of what this system is making an attempt to do and what could be taking place. For those who publish an extract of the log to a Q&An internet site like this, embody perhaps ten or so strains both facet of those that caught your consideration. Do not embody an excessive amount of as no-one needs to learn lots of of strains. Do not publish too little.

LEAVE A REPLY

Please enter your comment!
Please enter your name here