[Linux] Log monitoring

Logs other than specific applications

tail -F -n 20 /var/log/messages

cron related

tail -F -n 20 /var/log/cron

Email related

tail -F -n 20 /var/log/maillog

tomcat -Standard output (including the contents of catalina.log) + standard error output

tail -F -n 20 /usr/local/tomcat/logs/catalina.out

apache ・ Error log

tail -F -n 20 /var/log/httpd/error_log

·access log

tail -F -n 20 /var/log/httpd/request_log

·access log

tail -F -n 20 /var/log/httpd/access_log

Recommended Posts

[Linux] Log monitoring
Log monitoring
Log monitoring script
Log message monitoring shell
linux memorandum
Linux commands
Linux commands
Linux command # 3
Linux overview
direnv (linux)
linux commands
Linux practice
Linux Summary
Linux process
python log
Linux permissions
Linux command # 5
About Linux
Linux basics
Forgot linux
About Linux
Linux commands
About Linux
About Linux ①
Linux redirect