Skip to content

Instantly share code, notes, and snippets.

@stupidbodo
Created October 8, 2013 18:14
Show Gist options
  • Save stupidbodo/6889014 to your computer and use it in GitHub Desktop.
Save stupidbodo/6889014 to your computer and use it in GitHub Desktop.
Linux Logs and Uses
#!/bin/sh
# Linux Logs and Uses
/var/log/message # General message and system related stuff
/var/log/auth.log # Authenication logs
/var/log/kern.log # Kernel logs
/var/log/cron.log # Crond logs (cron job)
/var/log/maillog # Mail server logs
/var/log/qmail/ # Qmail log directory (more files inside this directory)
/var/log/httpd/ # Apache access and error logs directory
/var/log/lighttpd: # Lighttpd access and error logs directory
/var/log/boot.log # System boot log
/var/log/mysqld.log # MySQL database server log file
/var/log/secure # Authentication log
/var/log/utmp or /var/log/wtmp # Login records file
/var/log/yum.log # Yum log files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment