Turn Notepad++ into a log file analyzer
It's always a pain to analyze log files using a text editor. The good news is that Notepad++ supports user-defined languages, so I wrote a custom syntax highlighter. This turns Notepad++ into a basic log viewer. I've kept the highlighting to the minimum: green numbers, grey strings and custom colors for different log levels. Those colors are a huge improvement while scrolling through tons of black text. Here's how you enable it:
- Download this XML file
- Import the file:
Define your language...→
- Restart the application.
.log extension automatically use this syntax highlighter, but you can always activate it manually:
This configuration was written for Java logging (Log4J, Logback etc.), but it can be customized to work with other log patterns. Use the same dialog to adjust the colors and/or keywords, no XML hacking needed.
Want to leave a comment?
If you want to give me some feedback, please contact me via Twitter or email. 💌