Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

log file viewer for java applications [closed]

Tags:

java

logging

All, I was exploring if there can be a tool that helps me to this:

  1. View a log file in reverse chronological order i.e. I want to see the latest log statements being written to a log file at the top of the screen and not scroll all the way down every time log file is updated.

  2. may be pause while viewing so that while I am reading or analyzing my log files, it does not refresh the screen.

Is it possible?

I am using log4j for logging in my j2ee application. Thanks.

like image 385
Ayusman Avatar asked Sep 25 '11 12:09

Ayusman


People also ask

Where are JVM logs located?

View the JVM logs from the administrative console. Start the administrative console. Click Troubleshooting > Logs and Trace in the console navigation tree. To view the logs for a particular server, click on the server name to select it, then click JVM Logs.

How do I open a ALOG file?

Because most log files are recorded in plain text, the use of any text editor will do just fine to open it. By default, Windows will use Notepad to open a LOG file when you double-click on it.

Why Logger is used in Java?

A Logger object is used to log messages for a specific system or application component. Loggers are normally named, using a hierarchical dot-separated namespace. Logger names can be arbitrary strings, but they should normally be based on the package name or class name of the logged component, such as java.net or javax.


1 Answers

You can use OtrosLogViewer. You can pause scrolling to bottom and turn off adding new log events. You can watch screen capture on youtube.

Disclaimer: I am the author of OtrosLogViewer

like image 109
KrzyH Avatar answered Oct 16 '22 13:10

KrzyH