FreeBSD syslogd: Difference between revisions
From wikinotes
(Created page with "The system used by FreeBSD to manage logs. = Documentation = <blockquote> {| class="wikitable" |- | FreeBSD handbook || https://people.freebsd.org/~rodrigc/doc/handbook/confi...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= Locations = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| <code>/etc/syslog.conf</code> || match log-fields, and redirect them to files (ex: daemon.log, debug.log, ...) | |||
|- | |||
| <code>/etc/newsyslog.conf</code> || manages log-rotation | |||
|- | |||
|} | |||
</blockquote><!-- Locations --> |
Latest revision as of 15:49, 20 February 2022
The system used by FreeBSD to manage logs.
Documentation
FreeBSD handbook https://people.freebsd.org/~rodrigc/doc/handbook/configtuning-syslog.html man syslogd
https://www.freebsd.org/cgi/man.cgi?query=syslogd man syslogd.conf
https://www.freebsd.org/cgi/man.cgi?query=syslog.conf
Locations
/etc/syslog.conf
match log-fields, and redirect them to files (ex: daemon.log, debug.log, ...) /etc/newsyslog.conf
manages log-rotation