GCViewer icon indicating copy to clipboard operation
GCViewer copied to clipboard

Too short poll interval - make poll interval (HTTP HEAD) customizable

Open 20133102 opened this issue 10 years ago • 3 comments

assigned to: aolle

Hi,

from our accesss logs I noticed that gcviewer (1v1.33) polls the loggc file from our tomcat server at least once a second:

x.x.x.190|[16/May/2014:09:04:04 +0200]|HEAD /loggc/loggc HTTP/1.1|200|-|0|-|- x.x.x.190|[16/May/2014:09:04:05 +0200]|HEAD /loggc/loggc HTTP/1.1|200|-|0|-|- x.x.x.190|[16/May/2014:09:04:05 +0200]|HEAD /loggc/loggc HTTP/1.1|200|-|0|-|- x.x.x.190|[16/May/2014:09:04:07 +0200]|HEAD /loggc/loggc HTTP/1.1|200|-|0|-|- x.x.x.190|[16/May/2014:09:04:07 +0200]|HEAD /loggc/loggc HTTP/1.1|200|-|0|-|- x.x.x.190|[16/May/2014:09:04:09 +0200]|HEAD /loggc/loggc HTTP/1.1|200|-|0|-|-

From my point of view this is far too short. "Real time" log viewer is ok, but once a minute should do the job, too.

As always, other people could see this differently, so here's a wish for the -> Wishlist:


Maybe you could add a Menu "Preferences" where the update/poll interval for polling remote logs can be set by the user.

Regards, a_user

20133102 avatar May 16 '14 07:05 20133102

Hi,

This sounds like a reasonable request. Since I have very little time to work on GCViewer, unfortunately I can't tell you, when I'll have time.

As a quick fix, you can change the RELOAD_DELAY constant in the class "RefreshWatchDog" to 60000. Then it will only poll once a minute.

Best regards, Jörg

chewiebug avatar May 16 '14 17:05 chewiebug

Hi,

I think that I can (probably) implement it in a medium-term. You can assign me this issue.

Like Jörg, I've very little time, but I will do what I can.

Thank you.

aolle avatar Dec 09 '15 19:12 aolle

Hi Àngel,

Thank you for your offer! I have marked the isse "work in progress" and mentioned you as assignee.

Best regards, Jörg

chewiebug avatar Dec 12 '15 16:12 chewiebug