Linux Scroll

Just another WordPress.com site

Linux log file

Linux Log file

General log messages:

# tail /var/log/messages 

# less -500 /var/log/messages
# tail -f /var/log/messages

System boot log:

# /var/log/boot

Debugging log messages:

# /var/log/debug

User login and authentication logs:

# /var/log/auth.log

Running services such as squid, ntpd and others log message:

# /var/log/daemon.log

Linux kernel ring buffer log:

# dmesg

# /var/log/dmesg

All binary package log includes package installation:

# /var/log/dpkg.log

User failed login log file:

# /var/log/faillog

Kernel log file

# /var/log/kern.log

Printer log file

# /var/log/lpr.log

All mail server message log files

# /var/log/mail.log

MySQL server log file

# /var/log/mysql.log

All userlevel logs

# /var/log/user.log

X.org log file

# /var/log/xorg.0.log

Apache web server log files

# /var/log/apache2/*

Application crash report / log file:

# /var/log/apport.log  
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: