Added error log tab in debug window - #466
Conversation
…tries for errors and loads more errors as they come in while debugwindow is open
…og entries since the last time Debug Window was opened
|
@aguycalled @craigmacgregor This PR is ready for review, I have added the new |
|
I'm not sure if filtering which entries should go to the error log by trying to find a string ('ERROR') is the right approach. Using error() vs LogPrint* to decide on where should it be logged looks like a more efficient, elegant and future-prone solution. Thoughts? |
Agreed, I will make the change now. |
I've pushed the changes, waiting on travis 😄 |
…error( to insert in error.log
|
Is there some way to generate errors which will display in the error tab so i can test this is working? |
I just add a error("test") call to the init, compiled then checked the error log :D |
|
@aguycalled were you able to test a node running this? |
proletesseract
left a comment
There was a problem hiding this comment.
when i start with a blank data directory immediately errors are generated when it can't open the peers.dat and banlist.dat files and i see them in the debug console tab.
I have tested this on ubuntu and it works for me there.
|
approved, waiting for travis to complete then will merge |
|
Looks like changes to QT version on master branch break this PR, I will fix the branch now |
|
@proletesseract I've made the changes to fix the QT dependency issue, Build should pass now 👍 |
|
@proletesseract tests passed, merging 👍 |
Added error log tab in debug window that parses last 500 debug.log entries for errors and loads more errors as they come in while debugwindow is open