Features: user custom expressions and message types!
The included logtail.ini includes a pre-defined set of expressions for erros, warnings and urgent messages.
I hope the syntax is easy to understand, just custumize the expressions due to your needs.
Note: the expression syntax is using standard posix reg expressions.
Some fixes are also made.
I will maintain a hostory later, dependend on user feedback
The two expressions in the provided ini file are necessary because of performance issues a line is parsed against the defines message types twice. One in the file's line and one in the editor's line and the editor is replacing TAB to 3 spaces (custom behavior) so you need 2 expressions to match a line in the editor AND the file itself when using tabs as separators!
Remarks:
If I use the original ini file then summary/history shows number of lines only - no number of warnings/errors.
Yes that's an error in the ini file, sorry.
Change all \t to a real tab in the ini file, use an editor which is able to insert real tabs
If I use my own ini file then summary works correct but jump to next warning/error doesn't work correct. It works in this way: this function is looking for "W(TAB)" for warning, "E(TAB)" for error regardless of definitions in ini file.
That's right, it is still an early beta version, so this will be fixed later ...
When I install logtail as the last lister plugin, everything works ok but if not...I have a problem.
Viewing any other file (not log but: txt, gif, htm, etc...) with other plugins installed after logtail - when I press '1' (text only) and than '4' (image/multimedia) the logtail plugin turns on. Why? Do I have to change .ini file?
When I install logtail as the last lister plugin, everything works ok but if not...I have a problem.
Viewing any other file (not log but: txt, gif, htm, etc...) with other plugins installed after logtail - when I press '1' (text only) and than '4' (image/multimedia) the logtail plugin turns on. Why? Do I have to change .ini file?
I don't know. This should be no problem. The Plugins are just cycled and if I understand it right, the order is the order of installed plugins (visible in the list of the lister configuration).
It works this way for every plugin wich was installed after logtail (has greater index number than logtail).
So if I put it as the last one - everything is ok.
If I put it as the first one, it works so strange for every lister plugin.
If I put logtail e.g as number 6 - it works wrong for plugin 7, 8, 9... etc.
Apparently logtail ALWAYS activates if the 'force' flag is set. This flag is set when the user presses the '4' key. But you should still be able to switch to the next plugin by pressing '4' another time. You can also sort plugins with Shift+Arrow keys.