Log directory structure in Linux

Below is list of directories and respective details as generally found in /var/log/ directory of Linux.

Feel free to comment below if you find new directories (name and details)

  • /var/log/alternatives.log
  • /var/log/amplify-agent/
    • /var/log/amplify-agent/agent.log
  • /var/log/apache2/
    • /var/log/apache2/access.log
    • /var/log/apache2/error.log
    • /var/log/apache2/other_vhosts_access.log
  • /var/log/apport.log
  • /var/log/apt/
  • /var/log/apt/eipp.log.xz
  • /var/log/apt/history.log
  • /var/log/apt/term.log
  • /var/log/auth.log
  • /var/log/bootstrap.log
  • /var/log/btmp
  • /var/log/dist-upgrade/
    • /var/log/dist-upgrade/apt.log
    • /var/log/dist-upgrade/apt-term.log
    • /var/log/dist-upgrade/history.log
    • /var/log/dist-upgrade/lspci.txt
    • /var/log/dist-upgrade/main.log
    • /var/log/dist-upgrade/screenlog.0
    • /var/log/dist-upgrade/xorg_fixup.log
  • /var/log/dmesg
  • /var/log/dpkg.log
  • /var/log/fail2ban.log
  • /var/log/faillog
  • /var/log/fontconfig.log
  • /var/log/fsck/
    • /var/log/fsck/checkfs
    • /var/log/fsck/checkroot
  • /var/log/installer/
    • /var/log/installer/cdebconf
    • /var/log/installer/hardware-summary
    • /var/log/installer/initial-status.gz
    • /var/log/installer/lsb-release
    • /var/log/installer/media-info
    • /var/log/installer/partman
    • /var/log/installer/status
    • /var/log/installer/syslog
  • /var/log/journal/
  • /var/log/kern.log
  • /var/log/lastlog
  • /var/log/letsencrypt/
    • /var/log/letsencrypt/letsencrypt.log
  • /var/log/lxd/
    • /var/log/lxd/lxd.log
  • /var/log/mail.err
  • /var/log/mail.log
  • /var/log/mysql/
    • /var/log/mysql/mariadb-bin.XXXXXX
  • /var/log/mysql.err
  • /var/log/mysql.log
  • /var/log/nginx/
    • /var/log/nginx/access.log
    • /var/log/nginx/error.log
  • /var/log/pagespeed/
    • /var/log/pagespeed/stats_log_dummy_hostname:-100
  • /var/log/php/
    • /var/log/php/X.Y/fpm.log
    • /var/log/php/X.Y/slow.log
  • /var/log/phpX.Y-fpm.log
  • /var/log/redis/
    • /var/log/redis/redis-server.log
  • /var/log/syslog
  • /var/log/tallylog
  • /var/log/unattended-upgrades/
    • /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
    • /var/log/unattended-upgrades/unattended-upgrades.log
    • /var/log/unattended-upgrades/unattended-upgrades-shutdown.log
  • /var/log/upgrades/
    • /var/log/upgrades/telemetry
  • /var/log/wtmp