Monitor a log file live
You can watch a log file as it grows using the following command:
tail -f -n 50 /opt/tomcat/logs/catalina.out
-f, --follow[={name|descriptor}]
output appended data as the file grows; -f, --follow, and
--follow=descriptor are equivalent
-n, --lines=N
output the last N lines, instead of the last 10; or use +N
to output lines starting with the Nth"