Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can eclipse monitor an arbitrary log file in the Console view?

I am launching my JBoss server in eclipse, and so standard out/err displays in the Console view. But there are other logs being generated by log4j, and so I need to be able to monitor some of those as well. Is there anyway to "tail" an arbitrary file - with the nice source code hyperlinks that the Console view provides, of course.

(I am using myeclipse 7.5, which is eclipse 3.4.2)

like image 213
Chris Noe Avatar asked Jul 01 '09 13:07

Chris Noe


People also ask

How do I view eclipse logs?

From the main menu, select Window > Show view > Other. Then select General > Error Log. The error log is displayed, showing the following information for each error: The status of the error (for example, error or warning)

Where does Eclipse store console log?

Workspace log - This is the most common location for the log file, It is stored in your workspace in the meta-data directory. Check out workspace/. metadata/. log .

What is log file monitoring?

Log files of systems and applications contain invaluable information such as operation status & results, errors, and much more. Monitoring the log files helps IT administrators to know the performance of the systems and mission critical applications such as Oracle, SAP, ERP, IIS, etc. in real-time.


2 Answers

I currently am using NTail (Eclipse market place):
You can define several "NTail views", each one monitoring one or several files.

http://www.certiv.net/images/NTailScreenShot001.jpg

See also Log file viewer for Eclipse

like image 79
VonC Avatar answered Sep 28 '22 13:09

VonC


I just searched the Eclipse Marketplace for

log file viewer

and it suggested LogViewer, which does exactly what you need very well (+more).

like image 36
jackocnr Avatar answered Sep 28 '22 12:09

jackocnr