Continuous Live Log Viewing
by BAcidEvil from LinuxQuestions.org on (#4QK7Q)
Hello!
I may be doing it wrong or not having the correct code but I usually like to have (in separate logins) a live print out of both my /var/log/maillog and /var/log/fail2ban and monitoring whatever is going on in those 2 programs but the 'tail -f 'file' usually times out after 4 or 5 days.
Not really sure that's the correct function for ongoing monitoring so I was wondering about any recommendations to continually monitor them live.


I may be doing it wrong or not having the correct code but I usually like to have (in separate logins) a live print out of both my /var/log/maillog and /var/log/fail2ban and monitoring whatever is going on in those 2 programs but the 'tail -f 'file' usually times out after 4 or 5 days.
Not really sure that's the correct function for ongoing monitoring so I was wondering about any recommendations to continually monitor them live.