- Change security to local0 for ipmon(8) as the default syslogd(8) logging
facility, since this is how it works these days. PR: docs/131584 Submitted by: Joe <joeb@a1poweruser.com>
This commit is contained in:
parent
6860c255d3
commit
be75eda89c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=36032
1 changed files with 4 additions and 4 deletions
|
@ -826,9 +826,9 @@ ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat</programlist
|
|||
<para><application>Syslogd</application> uses its own special
|
||||
method for segregation of log data. It uses special groupings
|
||||
called <quote>facility</quote> and <quote>level</quote>. IPMON
|
||||
in <option>-Ds</option> mode uses <literal>security</literal>
|
||||
in <option>-Ds</option> mode uses <literal>local0</literal>
|
||||
as the <quote>facility</quote>
|
||||
name. All IPMON logged data goes to <literal>security</literal>
|
||||
name by default.
|
||||
The following levels can be
|
||||
used to further segregate the logged data if desired:</para>
|
||||
|
||||
|
@ -854,9 +854,9 @@ LOG_ERR - packets which have been logged and which can be considered short</scre
|
|||
<para>Add the following statement to
|
||||
<filename>/etc/syslog.conf</filename>:</para>
|
||||
|
||||
<programlisting>security.* /var/log/ipfilter.log</programlisting>
|
||||
<programlisting>local0.* /var/log/ipfilter.log</programlisting>
|
||||
|
||||
<para>The <literal>security.*</literal>
|
||||
<para>The <literal>local0.*</literal>
|
||||
means to write all the logged messages to the coded
|
||||
file location.</para>
|
||||
|
||||
|
|
Loading…
Reference in a new issue