Can eclipse monitor an arbitrary log file in the C

2019-02-02 15:33发布

问题:

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)

回答1:

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

See also Log file viewer for Eclipse



回答2:

I just searched the Eclipse Marketplace for

log file viewer

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