Log files in Linux

All log files in linux are in the location /var/logs. And we can ready all logs by using tail or head command

# tail -f /var/log/messages

Common Linux log files are

/var/log/message      : General message and system related alerts
/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 
 /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

These log rotation can be done by using daemon logrotate and monitor logs files using logwatch software.


Terima kasih telah membaca artikel tentang Log files in Linux di blog Tutorial Opensource and Linux jika anda ingin menyebar luaskan artikel ini di mohon untuk mencantumkan link sebagai Sumbernya, dan bila artikel ini bermanfaat silakan bookmark halaman ini di web browser anda, dengan cara menekan Ctrl + D pada tombol keyboard anda.

Artikel terbaru :

  • How To Install Cinnamon In Ubuntu 14.04
  • How To Install Mate Desktop In Ubuntu 14.04
  • Creating the first Windows Server 2003 Domain Controller in a domain
  • How To Install Ubuntu 13.10 Server
  • How to Install Nuvola Player in Ubuntu
  • How to establish Emerald in Ubuntu 13.10 & Linux Mint 16
  • How to Restoring iptables Automatically On Boot on Debian and Ubuntu
  • How to Compile FFMPEG with H.264 and LAME in Ubuntu And Debian
  • How to Install Linux on a Playstation 2
  • apt-fast: Improve apt-get Download Speed
  • Artikel terkait :