[ANN] LogTailer Plugin Follow
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
Please sign in to leave a comment.
This is a great idea!
I installed the pugin, it shows up, but how do I add files to it?
Marius
Mark Lussier wrote:
Marius Scurtescu wrote:
Thanks
Sorry.. Ope Project Properties and on the LogTailer page you can add files
M
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:
>>This is a great idea!
>>I installed the pugin, it shows up, but how do I add files to it?
Great
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
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
Yup, exactly what I decided... Going to wqork on it tomorrow
M
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:
Already on my todo list.. Just need to add the field to the config panel
See email :)
M
Excellent plugin.
Tired of having UltraEdit popping up all the time that the file has changed, wanna reload.
Very nice work !
I was really tired of opening my log files in WordPad ;)
Guillaume
"Guillaume Laforge" <glaforge@reflexe.fr> a ?crit dans le message de news:
asfe0v$ka3$1@is.intellij.net...
>
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
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
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
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
Mark Lussier wrote:
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"
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.
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
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
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
This has been fixed in the latest uploaded version..
Yeah that is fixed as well
Thank you.. Also send that to Paul Mutton who's JLogTailer this is based on
M
Guillaume Laforge wrote:
This is fixed in the latest uploaded release
M
You are demanding :) Added to the todo list..
Good idea! thanks
M
Thanks.. same reason I think Paul wrote the standalone and I made it a
plugin :)
M
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