I'm looking for a text editor for reading log4j log files capable of auto-highlighting lines according to the threads that logged them. For example, all the lines which include [pool-1-thread-1]
will be colored yellow and all the lines which include [pool-1-thread-2]
will be colored green. This might be available as a more general feature of highlighting according to the contents of some regex match.
What tools support this feature?
If you know a way I'm not aware of to do it in EditPLus or UltraEdit -- even better.
EDIT: My files are plaintext (not XML), and I can't change that.
The Log4j logging settings are stored in the file app_data /conf/server/log4j. properties, where app_data is the application data folder. You can edit this file directly on the server or open it by clicking Settings > Logging.
You can try OtrosLogViewer. It can highlight events based on String/regex or java code. Look at this screenshot:
Disclaimer: I am the author of OtrosLogViewer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With