I have a main script calling the script to do the monitoring.
I am trying to catch the exception that the log is missing or not accessible anymore.
tail -f is used instead of
-F since the logs are named with the current date.
trap may be working but I am not sure what signal
tail -f would return if the log being monitored is no longer there.
Otherwise, should I just do a loop checking in the main script checking for
[ -r $Log]?