FreeBSD Log Files
1 min readJul 16, 2022
These are defined by system’s syslogd
daemon in its syslog.conf
configuration file.
messages
: acting as a catch-all file (Facility:*
all)auth.log
:sshd
,sudo
,proftpd
(Facility:auth
andauthpriv
)
Calledauthlog
andsecure
in OpenBSD, respectively.maillog
:postfix
,sqlgrey
(Facility:mail
)cron
:cron
(facilitycron
)
Calledlog
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)
There are also FreeBSD log files not managed by the syslogd
daemon and written into by programs.
userlog
:pw (for groupadd
,groupdel
,groupmod
,useradd
,userdel
usermodsubcommands), adduser, rmuser
and
adduserrmuser
arepw
front-end shell scriptsutx.log (binary)
:last
see also the/var/run/utx.active
database used byw
andwho
commands
The directory these files are put into is /var/log
located within the system’s/var
partition.
As seen already OpenBSD’s syslogd
and it’s configuration differ slightly.