Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve user self-help by parsing the debug log for common errors #682
As a pi-hole user, when I run
I get a lot of data output...which I can understand personally but I could see lots of beginners with raspberry pi (possibly their first linux system) not understanding at all.
We need a log parser to identify common issues that come out of the debug log. Preferably ran right after the debug script is done and grabs the user's attention, then makes suggestions.
I won't make a comprehensive list of things to parse for but here is one example I just saw in a pi-hole debug output:
When pi-hole -d runs and discovers a lighttpd log with something along these lines:
At the end I'd hope for an output along the lines of:
The new debug script will highlight errors or warnings in red or yellow and then link to an FAQ (in blue). If the user's install does not have any issues, they will still see the output, but there will be lots of green text to indicate things are fine.