So, I’m trying to analyse some of my program’s MySQL queries. However, while I’ve got MySQL general query logging turned on, and can view the log file in a text editor (eg. notepad++), the program writes 1000s of lines of query a minute, so I could do with a slightly better program for reading the logs. Things that would be nice:
- Better syntax highlighting.
- Real-time updating.
- doesn’t get too slow when looking at long files
- Handles random binary sequences in the log without breaking
Any suggestions?
Edit: Windows-7 compatible programmes only
So far, from testing out a bunch of programmes, the best option I’ve found is baretail, which has good real-time updating and handles large files reasonably well. It could do with better MySql-specific syntax, but it’s not bad.
Alternatively, it turns out that there are actually options in notepad++ (in preferences: misc) to turn on real-time updating, but this doesn’t work well unless you have focus on the notepad++ window
There’s also a windows implementation of tail