Hi there,
LogMX is great; just bought a 5 person pro license for our team. One feature request I have is when you manually refresh a log it clears the log entries and appears to grab and parse a completely new file. Over sftp with largish logs this take a while. It would be nice if retained the old items and appended the new items like it does on Auto-Refresh.
I know I could just use auto-refresh, but for our prod servers I'd prefer to just refresh manually periodically to keep traffic low.
Cheers,
Scott
Keep log contents when doing manual refresh
Re: Keep log contents when doing manual refresh
Hello Scott,
Thank you for saying that LogMX is great
I understand what you mean, and you're right about the impact that AutoRefresh has on the traffic. Yet, what you may not know, is that even when AutoRefresh is turned OFF, LogMX is (by default) periodically checking if the file needs to be refreshed, just like it does wen AutoRefresh is turned on (used to make the file tab blink when the file needs to be manually refreshed). So, except for when LogMX is loading new log entries from the file, using AutoRefresh or not has the same impact on the traffic. Yet, you can reduce this impact using 2 options (menu "Tools" > "Options"):
I understand your concern about traffic and refresh delay, but monitoring a remote SFTP file has such limitations. So i would suggest you to use AutoRefresh using a greater delay for AutoRefresh (something like 10s) if you want to keep traffic as low as possible, or you could also use sockets to receive logs (using "SocketManager"), there will be no extra impact on traffic (but I understand it could be a big change in how you are logging, if your logging framework doesn't natively support sockets).
Please let me know if you see things in different ways
Thank you for sharing your ideas!
Xavier
Thank you for saying that LogMX is great
I understand what you mean, and you're right about the impact that AutoRefresh has on the traffic. Yet, what you may not know, is that even when AutoRefresh is turned OFF, LogMX is (by default) periodically checking if the file needs to be refreshed, just like it does wen AutoRefresh is turned on (used to make the file tab blink when the file needs to be manually refreshed). So, except for when LogMX is loading new log entries from the file, using AutoRefresh or not has the same impact on the traffic. Yet, you can reduce this impact using 2 options (menu "Tools" > "Options"):
- In the "Managers" tab of Options window, you can click on the button "Managers options" at the bottom to tune the delay used by LogMX to periodically check for file modification (whether AutoRefresh is ON or OFF). See text field "Other Managers (in ms)".
- In the "General" tab of Options window, you can disable file change detection (i.e. file modifications check when AutoRefresh is OFF) using the check box "Enable file change detection"
I understand your concern about traffic and refresh delay, but monitoring a remote SFTP file has such limitations. So i would suggest you to use AutoRefresh using a greater delay for AutoRefresh (something like 10s) if you want to keep traffic as low as possible, or you could also use sockets to receive logs (using "SocketManager"), there will be no extra impact on traffic (but I understand it could be a big change in how you are logging, if your logging framework doesn't natively support sockets).
Please let me know if you see things in different ways
Thank you for sharing your ideas!
Xavier