Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What tool is useful for reading log4j log files? [closed]

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.

like image 862
Oren Shalev Avatar asked Feb 28 '10 14:02

Oren Shalev


People also ask

Where are log4j logs stored?

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.


1 Answers

You can try OtrosLogViewer. It can highlight events based on String/regex or java code. Look at this screenshot: scrennshot

Disclaimer: I am the author of OtrosLogViewer

like image 102
KrzyH Avatar answered Nov 26 '22 02:11

KrzyH