Page 1 of 2

[Lister:] option to auto-reload the changed text files?

Posted: 2006-11-28, 11:34 UTC
by Valery_Kondakoff
Hi!

I'm really missing an option in Lister to auto-reload the text file if it is changed. This can be really useful to monitor the log-files in real-time (smth like logtail Unix tool).

I know, there is a LogTail TC plugin, but I think it is a good idea to have such a functionality implemented in Lister...

What do you think?

Thank you!

Posted: 2006-11-28, 11:38 UTC
by Valentino
Support+.

Posted: 2006-11-28, 22:08 UTC
by wanderer
Support it, as long as it asks before reloading the file.

Posted: 2006-12-04, 08:52 UTC
by nsp
wanderer wrote:Support it, as long as it asks before reloading the file.
Basic tail feature is nice but not really useful if you do not have filters to highlight lines remove some.... a nice java app for this is smart-tail

I Support AutoReload option in the text lister with Yes,No, on Demand....

Re: [Lister:] option to auto-reload the changed text files?

Posted: 2006-12-16, 23:33 UTC
by vanuatoo
Valery_Kondakoff wrote:Hi!

I'm really missing an option in Lister to auto-reload the text file if it is changed. This can be really useful to monitor the log-files in real-time (smth like logtail Unix tool).

I know, there is a LogTail TC plugin, but I think it is a good idea to have such a functionality implemented in Lister...

What do you think?

Thank you!
I could not find LogTail plugin. :roll:
Can anyone post a link?

Posted: 2006-12-16, 23:55 UTC
by Flint

Lister: automatic reload on focus, automatic move to tail?

Posted: 2007-07-19, 14:35 UTC
by serjayes
It would be convenient to have a setting for Lister (which I'd keep always on) to allow automatic reload (performed now with F2) of the text file viewed in the lister each time the given view gets the focus again.

The second setting for Lister (auto move to tail, which I'd always keep on) would function the following way: if the user moved to the end of the file, lister remembers that it's "at the end", so when F2 event occurs, after the new file is reloaded, the lister automatically moves to the end of the reloaded file.

Reason: at the moment, it often happens to me that I open some file, then some program generates a new version or adds something to the end. With these features, the view would adjust "automatically". Very convenient for observing log files, for example.

Third nice feature would be "refresh on change", and that would, for example, once in a second or two, check the attributes of the viewed file and if they are changed, the file is reloaded the same way as already described. This would allow viewing text files like logs "live".

I believe all the infrastructure already exists, so that a small amount of code would get big difference.

Posted: 2007-07-19, 22:24 UTC
by petermad
Support++ to all 3 suggestions.

Posted: 2007-07-19, 23:13 UTC
by StickyNomad
I second that.

Posted: 2007-07-20, 08:16 UTC
by Motorocker
Support all.
Also it needs small code.

Posted: 2009-10-01, 09:18 UTC
by MVV
Up. :)
Sometimes it is really useful to have possibility to follow actual line of log files. FAR has such feature in its base viewer, UV also has it. But Lister is small and quick, so I prefer to use it. And, as Motorocker said, this things doesn't require hard work and/or large code. IMHO, refresh rate and auto-reload on focus may be specified in INI, but follow tail and auto-reload items should be added somewhere in menu, e.g. after 'Show text cursor' item.

Internal Viewer: option to "auto reload" (e.g. monitor logfiles) ?

Posted: 2023-07-13, 09:03 UTC
by alexd
Would it be possible to have an option for the internal viewer to automatically load changes, for instance to be able to monitor logfiles as they change in realtime?
Atm, the only option is to close and open the viewer repeatedly.

Re: Internal Viewer: option to "auto reload" (e.g. monitor logfiles) ?

Posted: 2023-07-13, 09:29 UTC
by JOUBE
alexd wrote: 2023-07-13, 09:03 UTC Atm, the only option is to close and open the viewer repeatedly.
For this (like gnu tail -f ) use tools like baretail under windows. It is specialized to and perfect for this. (e.g. supports colors)

http://www.baremetalsoft.com/baretail/

Re: Internal Viewer: option to "auto reload" (e.g. monitor logfiles) ?

Posted: 2023-07-13, 09:53 UTC
by white
I support the suggestion to have an auto-reload feature for Lister.
alexd wrote: 2023-07-13, 09:03 UTC Atm, the only option is to close and open the viewer repeatedly.
Is F2 (Reload file) not working for you?

Moderator message from: white ยป 2023-07-13, 09:51 UTC

Merged 3 threads about the same suggestion into 1.

Re: [Lister:] option to auto-reload the changed text files?

Posted: 2023-07-13, 10:03 UTC
by AntonyD
Is F2 (Reload file) not working for you?
you know - sometimes it does NOT ((( without any obvious reason.