FreeBSD Log Files

  • messages: acting as a catch-all file (Facility: * all)
  • auth.log: sshd, sudo, proftpd (Facility: auth and authpriv)
    Called authlog and secure in OpenBSD, respectively.
  • maillog: postfix, sqlgrey (Facility: mail)
  • cron: cron (facility cron)
    Called log and put into /var/cron in OpenBSD.
  • debug.log: kernel, dovecot, rex (with -d option) (Facility: debug)
  • daemon.log: snmp_exporter, pdns, pdns_recursor(Facility: daemon)
    Calleddaemon in OpenBSD.
    Logging to this file was added with FreeBSD 13.0.
  • xferlog: ftpd, proftpd (Facility: ftp)
  • userlog: pw (for groupadd, groupdel, groupmod,useradd, userdel usermod subcommands), adduser, rmuser
    adduser
    and rmuser are pw front-end shell scripts
  • utx.log (binary): last
    see also the /var/run/utx.active database used by w and who commands

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elvin Aslanov

Elvin Aslanov

Unix and Open Source Software passionate. Currently working as Tech Support / System Administrator at a Web Hosting company. https://www.linkedin.com/in/rwp0/