24 comments
Comment actions Permalink

This is a great idea!

I installed the pugin, it shows up, but how do I add files to it?

Marius

Mark Lussier wrote:

I was tired of tabbing windows when tailing multiple files, so I wrote this
little plugin that will tail as many files as I desire in a toolwindow.

Download From

http://www.intellij.org/twiki/bin/view/Main/LogTailerPlugin

Mark

PS: This was inspired by and based on JLogTailer
http://www.jibble.org/jlogtailer.php


0
Comment actions Permalink

Marius Scurtescu wrote:

This is a great idea!


Thanks

I installed the pugin, it shows up, but how do I add files to it?


Sorry.. Ope Project Properties and on the LogTailer page you can add files

M

0
Comment actions Permalink

Thaks, it works now.

A few suggestions:
- a small toolbar to open/close files would be great
- would it be possible to deal with log files that have
the date part of the file name (so there is a new log
file every day/week/month)? in this case you would
want to open just the latest file

Thanks again,
Marius

Mark Lussier wrote:

Marius Scurtescu wrote:

>>This is a great idea!


Thanks

>>I installed the pugin, it shows up, but how do I add files to it?


Sorry.. Ope Project Properties and on the LogTailer page you can add files

M


0
Comment actions Permalink

Thaks, it works now.


Great

A few suggestions:
- a small toolbar to open/close files would be great

- would it be possible to deal with log files that have
the date part of the file name (so there is a new log
file every day/week/month)? in this case you would
want to open just the latest file


Yeah I am planning on adding the toolbar and a popup menu to remove as
well.. going to the project properties everytime is annoying me as well

As for the formatted filename, I was already thinking of it (as I use my
mailserver logs as test logs).. The issue that has me paused is exactly how
to configure the "rollover" of the logs (how often I check for new
filenames based on the pattern)

M


0
Comment actions Permalink

You could check only at start up and also have a button on
the toolbar to force a recheck - in case you work past
midnight :)

Marius

Mark Lussier wrote:

>>- would it be possible to deal with log files that have
>>the date part of the file name (so there is a new log
>>file every day/week/month)? in this case you would
>>want to open just the latest file


Yeah I am planning on adding the toolbar and a popup menu to remove as
well.. going to the project properties everytime is annoying me as well

As for the formatted filename, I was already thinking of it (as I use my
mailserver logs as test logs).. The issue that has me paused is exactly how
to configure the "rollover" of the logs (how often I check for new
filenames based on the pattern)

M


0
Comment actions Permalink

You could check only at start up and also have a button on
the toolbar to force a recheck - in case you work past
midnight :)


Yup, exactly what I decided... Going to wqork on it tomorrow

M

0
Comment actions Permalink

Also you may want to add the number of lines as an option.
I am digging through JBoss log files and they are huge, 500
lines would be too small in many cases.

I can barely wait the next version :)

Mark Lussier wrote:

You could check only at start up and also have a button on
the toolbar to force a recheck - in case you work past
midnight :)


Yup, exactly what I decided... Going to wqork on it tomorrow

M


0
Comment actions Permalink

Also you may want to add the number of lines as an option.
I am digging through JBoss log files and they are huge, 500
lines would be too small in many cases.


Already on my todo list.. Just need to add the field to the config panel

I can barely wait the next version :)


See email :)

M

0
Comment actions Permalink

Excellent plugin.

Tired of having UltraEdit popping up all the time that the file has changed, wanna reload.

0
Comment actions Permalink


Very nice work !
I was really tired of opening my log files in WordPad ;)

Guillaume


0
Comment actions Permalink


"Guillaume Laforge" <glaforge@reflexe.fr> a ?crit dans le message de news:
asfe0v$ka3$1@is.intellij.net...
>

Very nice work !
I was really tired of opening my log files in WordPad ;)


A little issue :
when I go to the properties panel, even if I click cancel without modifying
anything (buffer size or whatever), after that everything is cleared in the
toolwindow. I'd expect it not to clear anything.

Another one :
when using the minus icon to delete/close one log file, it does not
disappear from the property panel.

Otherwise, I'm really happy with this plugin And I use it a lot when
debugging especially !
Thank you very much :)

Guillaume


0
Comment actions Permalink


There is a feature that might be interesting to implement : being able to
filter the lines shown.
I mean, some kind of line filtering.
For instance, in our log files, we have DEBUG, INFO, WARN, ERROR, etc...
It would be cool if I could filter (and see) only the lines that follow a
certain regexp pattern.

Guillaume


0
Comment actions Permalink

Another issue, each time you go to the Project Properties, even if you don't
open the plugin properties, your toolwindow is reset with all the log files.
And the log files I removed with "minus" come back :(

Guillaume


0
Comment actions Permalink


I'm really demanding... but... there would be a nice feature to add :
when there is a stacktrace in the log file, could you please make it a link
to the source code ?
That would be a killer feature for your plugin.
You might have a look at some other plugin that already have this stacktrace
feature parsing.
Just find a pattern like "at com.foo.MyClass.test(MyClass:123)" and
transform the "MyClass:123" into a blue and underlined link. That'd be great
!!!!!!
Your plugin is really wonderful :o)

Guillaume


0
Comment actions Permalink

Mark Lussier wrote:

I was tired of tabbing windows when tailing multiple files, so I wrote this
little plugin that will tail as many files as I desire in a toolwindow.


Are stacktraces highlighted/clickable the way they are in IDEA's
Run/Debug output?

Ciao,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka (now part of Quest Software)
"Performance is Mission Critical"

0
Comment actions Permalink

There is a feature that might be interesting to
implement : being able to
filter the lines shown.
I mean, some kind of line filtering.
For instance, in our log files, we have DEBUG, INFO,
WARN, ERROR, etc...
It would be cool if I could filter (and see) only the
lines that follow a
certain regexp pattern.


Funny you mention that, as that's just what I've coded into version 2.0 of JLogTailer :) If you want a standalone version of the log tailer, then you can grab it from http://www.jibble.org/jlogtailer.php and explore its regexp line filtering madness.

Paul.

0
Comment actions Permalink

Are stacktraces highlighted/clickable the way they are in IDEA's
Run/Debug output?


Not yet, but I also hope it will be implemented in a future release !!!
That'd be great, and that's exactly what I need.

Guillaume


0
Comment actions Permalink

Funny you mention that, as that's just what I've coded into version 2.0 of

JLogTailer :) If you want a standalone version of the log tailer, then you
can grab it from http://www.jibble.org/jlogtailer.php and explore its regexp
line filtering madness.

Hello Paul,

Thank you for the link, I will have a look at it :)
That's a very interesting feature to be able to filter lines (especially
because one of my colleagues puts too much stuffs into the log files!)

Guillaume


0
Comment actions Permalink

There is a feature that might be interesting to implement : being able to
filter the lines shown.
I mean, some kind of line filtering.
For instance, in our log files, we have DEBUG, INFO, WARN, ERROR, etc...
It would be cool if I could filter (and see) only the lines that follow a
certain regexp pattern.


Is there, just not realsed yet. As paul said (and the download link), this
is based off his code and I have his 2.0 code integrated, just not surfaced
into the config panel.

I will release a 0.2 tonight with expressionable filenames, and primitve
hihghlight/filter config integrated

M

0
Comment actions Permalink

when I go to the properties panel, even if I click cancel without
modifying anything (buffer size or whatever), after that everything is
cleared in the toolwindow. I'd expect it not to clear anything.


This has been fixed in the latest uploaded version..

Another one :
when using the minus icon to delete/close one log file, it does not
disappear from the property panel.


Yeah that is fixed as well

Otherwise, I'm really happy with this plugin ! And I use it a lot when
debugging especially


Thank you.. Also send that to Paul Mutton who's JLogTailer this is based on

M

0
Comment actions Permalink

Guillaume Laforge wrote:

Another issue, each time you go to the Project Properties, even if you
don't open the plugin properties, your toolwindow is reset with all the
log files. And the log files I removed with "minus" come back :(


This is fixed in the latest uploaded release

M

0
Comment actions Permalink

I'm really demanding... but... there would be a nice feature to add :
when there is a stacktrace in the log file, could you please make it a
link to the source code ?


You are demanding :) Added to the todo list..

That would be a killer feature for your plugin.
You might have a look at some other plugin that already have this
stacktrace feature parsing.


Good idea! thanks

M

0
Comment actions Permalink

I was really tired of opening my log files in WordPad ;)


Thanks.. same reason I think Paul wrote the standalone and I made it a
plugin :)

M

0
Comment actions Permalink

Thank you very much Mark (and Paul as well for the original code).
You're very reactive.
This plugin is really one the best for enabling me to be more productive.
Keep up the good work.

Guillaume


0

Please sign in to leave a comment.