History log of /openbsd-current/usr.sbin/syslogd/syslog.conf.5
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.39 13-Jan-2019 schwarze

document how program names are extracted from log lines
in order to select syslog.conf(5) line blocks


Revision tags: OPENBSD_6_4_BASE
# 1.38 23-Jul-2018 kn

Point to glob in section 7 for the actual list of special characters instead
the C API in section 3.

OK millert jmc nicm, "the right idea" deraadt


# 1.37 17-Jul-2018 djm

allow shell globs to match program and hostname selector tags via
fnmatch(3); ok sthen@ bluhm@


Revision tags: OPENBSD_6_3_BASE
# 1.36 02-Feb-2018 jmc

convert the remaining examples to full sentences;


# 1.35 01-Feb-2018 landry

Add an example on how to log messages coming from a given host to a
specific logfile.
ok sthen@ millert@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.34 06-Jul-2016 millert

Allow space-deliminated fields in syslog.conf in addition to
traditional tabs-deliminated fields. This is consistent with what
FreeBSD, NetBSD and Linux do. Adapted from FreeBSD.


Revision tags: OPENBSD_5_9_BASE
# 1.33 10-Sep-2015 schwarze

reduce .Nd to one line and kill .Tn while here


Revision tags: OPENBSD_5_8_BASE
# 1.32 29-Jun-2015 bluhm

Add the possiblity to store all syslog messages received from a
specific host into a single log file. For programs this is already
implemented for !prog blocks. So do the same with +host for
hostnames.
Based on a diff from Gregory Edigarov; OK jung@ sthen@


Revision tags: OPENBSD_5_7_BASE
# 1.31 10-Feb-2015 bluhm

Oops, I accidently reverted the two previous commits in syslog.conf.5.
Bring back revision 1.29.


# 1.30 10-Feb-2015 bluhm

Make error check consistent in all recvfrom(2) callbacks.
OK henning@


# 1.29 10-Feb-2015 bluhm

Fix typo in previous commit.


# 1.28 10-Feb-2015 sthen

Specifying the port is non-optional for (non-TLS) syslog over TCP, ok bluhm@


# 1.27 20-Jan-2015 bluhm

Document how to send syslog messages over TCP or TLS.
OK jmc@


# 1.26 25-Aug-2014 bluhm

Document the IPv4/IPv6 command line switches and protocol loghost
prefixes.
OK jmc@ henning@


# 1.25 21-Aug-2014 bluhm

Document square brackets for IPv6 addresses. From FreeBSD.
OK logan@ henning@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.24 20-Jan-2014 schwarze

Obvious .Xr fixes, found while testing mandocdb(8).


Revision tags: OPENBSD_5_4_BASE
# 1.23 20-Jul-2013 kili

1. there's no "selectors function"

2. "recommend" instead of "prefer" selection on facility

ok (for 1.) and "no objections" (for 2.), jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.22 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_4_1_BASE
# 1.21 20-Feb-2007 henning

document syslog to other programs, ok jmc


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.20 18-Feb-2006 niallo

- mention ftp facility keyword.

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.19 03-Jul-2004 djm

support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4;
ok henning@ anil@


# 1.18 07-Jun-2004 jmc

clarify how tags are parsed;
help from, tweaks, and ok's: dhartmei@ otto@ millert@


# 1.17 03-Jun-2004 dhartmei

allow '!!prog', where the second '!' means messages from prog should only
be logged by the subsequent block, aborting evaluation when matching.
Useful to log some daemons to dedicated files only (not polluting standard
files with their messages). ok beck@, henning@, millert@


Revision tags: OPENBSD_3_5_BASE
# 1.16 16-Mar-2004 jmc

typos from Andrey Matveev;


# 1.15 05-Jan-2004 jmc

clarify description of colon `action';
ok djm@


# 1.14 04-Jan-2004 djm

Buffered logging for syslogd. Logs may be stored in memory buffers and
extracted using a small client. Useful for diskless systems.
much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@


# 1.13 01-Oct-2003 jmc

use the same amount of indent for the action fields in the example conf;


Revision tags: OPENBSD_3_4_BASE
# 1.12 26-Jun-2003 jmc

correct an example, and fix BUGS;
ok millert@


# 1.11 12-Jun-2003 jmc

- section reorder
- macro fixes
- kill whitespace at EOL
- new sentence, new line


# 1.10 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_3_BASE
# 1.9 23-Jan-2003 jmc

typos;
ok millert@


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.8 07-Feb-2001 fgsch

Remove support for #!. It's not intuitive and if you happen to add
lines as the end of a stock syslog.conf you're going to spend some time
figuring why is not working as it should; problem found by
riq@core-sdi.com, millert@ ok.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.7 19-Mar-2000 aaron

Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other
cleanup along the way.


# 1.6 04-Mar-2000 aaron

In Unix land we prefer "whitespace" to "white space" or "white-space". At
least, this is the impression I get from looking at a lot of Perl docs.


Revision tags: OPENBSD_2_6_BASE
# 1.5 05-Jun-1999 aaron

remove trailing whitespace, some Nm cleanup


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.4 09-Nov-1997 todd

$OpenBSD$


# 1.3 06-Nov-1997 bri

Understand sections in syslog.conf.
Current syslog.conf files are still understood andtreated the same.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 05-Jan-1996 deraadt

sync with 4.4lite2 version, as well as netbsd changes merged by perry.
retain openbsd changes too.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.38 23-Jul-2018 kn

Point to glob in section 7 for the actual list of special characters instead
the C API in section 3.

OK millert jmc nicm, "the right idea" deraadt


# 1.37 17-Jul-2018 djm

allow shell globs to match program and hostname selector tags via
fnmatch(3); ok sthen@ bluhm@


Revision tags: OPENBSD_6_3_BASE
# 1.36 02-Feb-2018 jmc

convert the remaining examples to full sentences;


# 1.35 01-Feb-2018 landry

Add an example on how to log messages coming from a given host to a
specific logfile.
ok sthen@ millert@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.34 06-Jul-2016 millert

Allow space-deliminated fields in syslog.conf in addition to
traditional tabs-deliminated fields. This is consistent with what
FreeBSD, NetBSD and Linux do. Adapted from FreeBSD.


Revision tags: OPENBSD_5_9_BASE
# 1.33 10-Sep-2015 schwarze

reduce .Nd to one line and kill .Tn while here


Revision tags: OPENBSD_5_8_BASE
# 1.32 29-Jun-2015 bluhm

Add the possiblity to store all syslog messages received from a
specific host into a single log file. For programs this is already
implemented for !prog blocks. So do the same with +host for
hostnames.
Based on a diff from Gregory Edigarov; OK jung@ sthen@


Revision tags: OPENBSD_5_7_BASE
# 1.31 10-Feb-2015 bluhm

Oops, I accidently reverted the two previous commits in syslog.conf.5.
Bring back revision 1.29.


# 1.30 10-Feb-2015 bluhm

Make error check consistent in all recvfrom(2) callbacks.
OK henning@


# 1.29 10-Feb-2015 bluhm

Fix typo in previous commit.


# 1.28 10-Feb-2015 sthen

Specifying the port is non-optional for (non-TLS) syslog over TCP, ok bluhm@


# 1.27 20-Jan-2015 bluhm

Document how to send syslog messages over TCP or TLS.
OK jmc@


# 1.26 25-Aug-2014 bluhm

Document the IPv4/IPv6 command line switches and protocol loghost
prefixes.
OK jmc@ henning@


# 1.25 21-Aug-2014 bluhm

Document square brackets for IPv6 addresses. From FreeBSD.
OK logan@ henning@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.24 20-Jan-2014 schwarze

Obvious .Xr fixes, found while testing mandocdb(8).


Revision tags: OPENBSD_5_4_BASE
# 1.23 20-Jul-2013 kili

1. there's no "selectors function"

2. "recommend" instead of "prefer" selection on facility

ok (for 1.) and "no objections" (for 2.), jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.22 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_4_1_BASE
# 1.21 20-Feb-2007 henning

document syslog to other programs, ok jmc


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.20 18-Feb-2006 niallo

- mention ftp facility keyword.

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.19 03-Jul-2004 djm

support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4;
ok henning@ anil@


# 1.18 07-Jun-2004 jmc

clarify how tags are parsed;
help from, tweaks, and ok's: dhartmei@ otto@ millert@


# 1.17 03-Jun-2004 dhartmei

allow '!!prog', where the second '!' means messages from prog should only
be logged by the subsequent block, aborting evaluation when matching.
Useful to log some daemons to dedicated files only (not polluting standard
files with their messages). ok beck@, henning@, millert@


Revision tags: OPENBSD_3_5_BASE
# 1.16 16-Mar-2004 jmc

typos from Andrey Matveev;


# 1.15 05-Jan-2004 jmc

clarify description of colon `action';
ok djm@


# 1.14 04-Jan-2004 djm

Buffered logging for syslogd. Logs may be stored in memory buffers and
extracted using a small client. Useful for diskless systems.
much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@


# 1.13 01-Oct-2003 jmc

use the same amount of indent for the action fields in the example conf;


Revision tags: OPENBSD_3_4_BASE
# 1.12 26-Jun-2003 jmc

correct an example, and fix BUGS;
ok millert@


# 1.11 12-Jun-2003 jmc

- section reorder
- macro fixes
- kill whitespace at EOL
- new sentence, new line


# 1.10 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_3_BASE
# 1.9 23-Jan-2003 jmc

typos;
ok millert@


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.8 07-Feb-2001 fgsch

Remove support for #!. It's not intuitive and if you happen to add
lines as the end of a stock syslog.conf you're going to spend some time
figuring why is not working as it should; problem found by
riq@core-sdi.com, millert@ ok.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.7 19-Mar-2000 aaron

Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other
cleanup along the way.


# 1.6 04-Mar-2000 aaron

In Unix land we prefer "whitespace" to "white space" or "white-space". At
least, this is the impression I get from looking at a lot of Perl docs.


Revision tags: OPENBSD_2_6_BASE
# 1.5 05-Jun-1999 aaron

remove trailing whitespace, some Nm cleanup


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.4 09-Nov-1997 todd

$OpenBSD$


# 1.3 06-Nov-1997 bri

Understand sections in syslog.conf.
Current syslog.conf files are still understood andtreated the same.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 05-Jan-1996 deraadt

sync with 4.4lite2 version, as well as netbsd changes merged by perry.
retain openbsd changes too.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.36 02-Feb-2018 jmc

convert the remaining examples to full sentences;


# 1.35 01-Feb-2018 landry

Add an example on how to log messages coming from a given host to a
specific logfile.
ok sthen@ millert@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.34 06-Jul-2016 millert

Allow space-deliminated fields in syslog.conf in addition to
traditional tabs-deliminated fields. This is consistent with what
FreeBSD, NetBSD and Linux do. Adapted from FreeBSD.


Revision tags: OPENBSD_5_9_BASE
# 1.33 10-Sep-2015 schwarze

reduce .Nd to one line and kill .Tn while here


Revision tags: OPENBSD_5_8_BASE
# 1.32 29-Jun-2015 bluhm

Add the possiblity to store all syslog messages received from a
specific host into a single log file. For programs this is already
implemented for !prog blocks. So do the same with +host for
hostnames.
Based on a diff from Gregory Edigarov; OK jung@ sthen@


Revision tags: OPENBSD_5_7_BASE
# 1.31 10-Feb-2015 bluhm

Oops, I accidently reverted the two previous commits in syslog.conf.5.
Bring back revision 1.29.


# 1.30 10-Feb-2015 bluhm

Make error check consistent in all recvfrom(2) callbacks.
OK henning@


# 1.29 10-Feb-2015 bluhm

Fix typo in previous commit.


# 1.28 10-Feb-2015 sthen

Specifying the port is non-optional for (non-TLS) syslog over TCP, ok bluhm@


# 1.27 20-Jan-2015 bluhm

Document how to send syslog messages over TCP or TLS.
OK jmc@


# 1.26 25-Aug-2014 bluhm

Document the IPv4/IPv6 command line switches and protocol loghost
prefixes.
OK jmc@ henning@


# 1.25 21-Aug-2014 bluhm

Document square brackets for IPv6 addresses. From FreeBSD.
OK logan@ henning@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.24 20-Jan-2014 schwarze

Obvious .Xr fixes, found while testing mandocdb(8).


Revision tags: OPENBSD_5_4_BASE
# 1.23 20-Jul-2013 kili

1. there's no "selectors function"

2. "recommend" instead of "prefer" selection on facility

ok (for 1.) and "no objections" (for 2.), jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.22 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_4_1_BASE
# 1.21 20-Feb-2007 henning

document syslog to other programs, ok jmc


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.20 18-Feb-2006 niallo

- mention ftp facility keyword.

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.19 03-Jul-2004 djm

support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4;
ok henning@ anil@


# 1.18 07-Jun-2004 jmc

clarify how tags are parsed;
help from, tweaks, and ok's: dhartmei@ otto@ millert@


# 1.17 03-Jun-2004 dhartmei

allow '!!prog', where the second '!' means messages from prog should only
be logged by the subsequent block, aborting evaluation when matching.
Useful to log some daemons to dedicated files only (not polluting standard
files with their messages). ok beck@, henning@, millert@


Revision tags: OPENBSD_3_5_BASE
# 1.16 16-Mar-2004 jmc

typos from Andrey Matveev;


# 1.15 05-Jan-2004 jmc

clarify description of colon `action';
ok djm@


# 1.14 04-Jan-2004 djm

Buffered logging for syslogd. Logs may be stored in memory buffers and
extracted using a small client. Useful for diskless systems.
much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@


# 1.13 01-Oct-2003 jmc

use the same amount of indent for the action fields in the example conf;


Revision tags: OPENBSD_3_4_BASE
# 1.12 26-Jun-2003 jmc

correct an example, and fix BUGS;
ok millert@


# 1.11 12-Jun-2003 jmc

- section reorder
- macro fixes
- kill whitespace at EOL
- new sentence, new line


# 1.10 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_3_BASE
# 1.9 23-Jan-2003 jmc

typos;
ok millert@


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.8 07-Feb-2001 fgsch

Remove support for #!. It's not intuitive and if you happen to add
lines as the end of a stock syslog.conf you're going to spend some time
figuring why is not working as it should; problem found by
riq@core-sdi.com, millert@ ok.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.7 19-Mar-2000 aaron

Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other
cleanup along the way.


# 1.6 04-Mar-2000 aaron

In Unix land we prefer "whitespace" to "white space" or "white-space". At
least, this is the impression I get from looking at a lot of Perl docs.


Revision tags: OPENBSD_2_6_BASE
# 1.5 05-Jun-1999 aaron

remove trailing whitespace, some Nm cleanup


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.4 09-Nov-1997 todd

$OpenBSD$


# 1.3 06-Nov-1997 bri

Understand sections in syslog.conf.
Current syslog.conf files are still understood andtreated the same.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 05-Jan-1996 deraadt

sync with 4.4lite2 version, as well as netbsd changes merged by perry.
retain openbsd changes too.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.35 01-Feb-2018 landry

Add an example on how to log messages coming from a given host to a
specific logfile.
ok sthen@ millert@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.34 06-Jul-2016 millert

Allow space-deliminated fields in syslog.conf in addition to
traditional tabs-deliminated fields. This is consistent with what
FreeBSD, NetBSD and Linux do. Adapted from FreeBSD.


Revision tags: OPENBSD_5_9_BASE
# 1.33 10-Sep-2015 schwarze

reduce .Nd to one line and kill .Tn while here


Revision tags: OPENBSD_5_8_BASE
# 1.32 29-Jun-2015 bluhm

Add the possiblity to store all syslog messages received from a
specific host into a single log file. For programs this is already
implemented for !prog blocks. So do the same with +host for
hostnames.
Based on a diff from Gregory Edigarov; OK jung@ sthen@


Revision tags: OPENBSD_5_7_BASE
# 1.31 10-Feb-2015 bluhm

Oops, I accidently reverted the two previous commits in syslog.conf.5.
Bring back revision 1.29.


# 1.30 10-Feb-2015 bluhm

Make error check consistent in all recvfrom(2) callbacks.
OK henning@


# 1.29 10-Feb-2015 bluhm

Fix typo in previous commit.


# 1.28 10-Feb-2015 sthen

Specifying the port is non-optional for (non-TLS) syslog over TCP, ok bluhm@


# 1.27 20-Jan-2015 bluhm

Document how to send syslog messages over TCP or TLS.
OK jmc@


# 1.26 25-Aug-2014 bluhm

Document the IPv4/IPv6 command line switches and protocol loghost
prefixes.
OK jmc@ henning@


# 1.25 21-Aug-2014 bluhm

Document square brackets for IPv6 addresses. From FreeBSD.
OK logan@ henning@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.24 20-Jan-2014 schwarze

Obvious .Xr fixes, found while testing mandocdb(8).


Revision tags: OPENBSD_5_4_BASE
# 1.23 20-Jul-2013 kili

1. there's no "selectors function"

2. "recommend" instead of "prefer" selection on facility

ok (for 1.) and "no objections" (for 2.), jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.22 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_4_1_BASE
# 1.21 20-Feb-2007 henning

document syslog to other programs, ok jmc


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.20 18-Feb-2006 niallo

- mention ftp facility keyword.

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.19 03-Jul-2004 djm

support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4;
ok henning@ anil@


# 1.18 07-Jun-2004 jmc

clarify how tags are parsed;
help from, tweaks, and ok's: dhartmei@ otto@ millert@


# 1.17 03-Jun-2004 dhartmei

allow '!!prog', where the second '!' means messages from prog should only
be logged by the subsequent block, aborting evaluation when matching.
Useful to log some daemons to dedicated files only (not polluting standard
files with their messages). ok beck@, henning@, millert@


Revision tags: OPENBSD_3_5_BASE
# 1.16 16-Mar-2004 jmc

typos from Andrey Matveev;


# 1.15 05-Jan-2004 jmc

clarify description of colon `action';
ok djm@


# 1.14 04-Jan-2004 djm

Buffered logging for syslogd. Logs may be stored in memory buffers and
extracted using a small client. Useful for diskless systems.
much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@


# 1.13 01-Oct-2003 jmc

use the same amount of indent for the action fields in the example conf;


Revision tags: OPENBSD_3_4_BASE
# 1.12 26-Jun-2003 jmc

correct an example, and fix BUGS;
ok millert@


# 1.11 12-Jun-2003 jmc

- section reorder
- macro fixes
- kill whitespace at EOL
- new sentence, new line


# 1.10 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_3_BASE
# 1.9 23-Jan-2003 jmc

typos;
ok millert@


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.8 07-Feb-2001 fgsch

Remove support for #!. It's not intuitive and if you happen to add
lines as the end of a stock syslog.conf you're going to spend some time
figuring why is not working as it should; problem found by
riq@core-sdi.com, millert@ ok.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.7 19-Mar-2000 aaron

Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other
cleanup along the way.


# 1.6 04-Mar-2000 aaron

In Unix land we prefer "whitespace" to "white space" or "white-space". At
least, this is the impression I get from looking at a lot of Perl docs.


Revision tags: OPENBSD_2_6_BASE
# 1.5 05-Jun-1999 aaron

remove trailing whitespace, some Nm cleanup


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.4 09-Nov-1997 todd

$OpenBSD$


# 1.3 06-Nov-1997 bri

Understand sections in syslog.conf.
Current syslog.conf files are still understood andtreated the same.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 05-Jan-1996 deraadt

sync with 4.4lite2 version, as well as netbsd changes merged by perry.
retain openbsd changes too.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.34 06-Jul-2016 millert

Allow space-deliminated fields in syslog.conf in addition to
traditional tabs-deliminated fields. This is consistent with what
FreeBSD, NetBSD and Linux do. Adapted from FreeBSD.


Revision tags: OPENBSD_5_9_BASE
# 1.33 10-Sep-2015 schwarze

reduce .Nd to one line and kill .Tn while here


Revision tags: OPENBSD_5_8_BASE
# 1.32 29-Jun-2015 bluhm

Add the possiblity to store all syslog messages received from a
specific host into a single log file. For programs this is already
implemented for !prog blocks. So do the same with +host for
hostnames.
Based on a diff from Gregory Edigarov; OK jung@ sthen@


Revision tags: OPENBSD_5_7_BASE
# 1.31 10-Feb-2015 bluhm

Oops, I accidently reverted the two previous commits in syslog.conf.5.
Bring back revision 1.29.


# 1.30 10-Feb-2015 bluhm

Make error check consistent in all recvfrom(2) callbacks.
OK henning@


# 1.29 10-Feb-2015 bluhm

Fix typo in previous commit.


# 1.28 10-Feb-2015 sthen

Specifying the port is non-optional for (non-TLS) syslog over TCP, ok bluhm@


# 1.27 20-Jan-2015 bluhm

Document how to send syslog messages over TCP or TLS.
OK jmc@


# 1.26 25-Aug-2014 bluhm

Document the IPv4/IPv6 command line switches and protocol loghost
prefixes.
OK jmc@ henning@


# 1.25 21-Aug-2014 bluhm

Document square brackets for IPv6 addresses. From FreeBSD.
OK logan@ henning@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.24 20-Jan-2014 schwarze

Obvious .Xr fixes, found while testing mandocdb(8).


Revision tags: OPENBSD_5_4_BASE
# 1.23 20-Jul-2013 kili

1. there's no "selectors function"

2. "recommend" instead of "prefer" selection on facility

ok (for 1.) and "no objections" (for 2.), jmc@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.22 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_4_1_BASE
# 1.21 20-Feb-2007 henning

document syslog to other programs, ok jmc


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.20 18-Feb-2006 niallo

- mention ftp facility keyword.

ok jmc@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.19 03-Jul-2004 djm

support @hostname:port syntax in syslog.conf, prompted by msf@ at c2k4;
ok henning@ anil@


# 1.18 07-Jun-2004 jmc

clarify how tags are parsed;
help from, tweaks, and ok's: dhartmei@ otto@ millert@


# 1.17 03-Jun-2004 dhartmei

allow '!!prog', where the second '!' means messages from prog should only
be logged by the subsequent block, aborting evaluation when matching.
Useful to log some daemons to dedicated files only (not polluting standard
files with their messages). ok beck@, henning@, millert@


Revision tags: OPENBSD_3_5_BASE
# 1.16 16-Mar-2004 jmc

typos from Andrey Matveev;


# 1.15 05-Jan-2004 jmc

clarify description of colon `action';
ok djm@


# 1.14 04-Jan-2004 djm

Buffered logging for syslogd. Logs may be stored in memory buffers and
extracted using a small client. Useful for diskless systems.
much feedback from deraadt@, canacar@, jmc@, jakob@ ; ok deraadt@


# 1.13 01-Oct-2003 jmc

use the same amount of indent for the action fields in the example conf;


Revision tags: OPENBSD_3_4_BASE
# 1.12 26-Jun-2003 jmc

correct an example, and fix BUGS;
ok millert@


# 1.11 12-Jun-2003 jmc

- section reorder
- macro fixes
- kill whitespace at EOL
- new sentence, new line


# 1.10 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_3_BASE
# 1.9 23-Jan-2003 jmc

typos;
ok millert@


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.8 07-Feb-2001 fgsch

Remove support for #!. It's not intuitive and if you happen to add
lines as the end of a stock syslog.conf you're going to spend some time
figuring why is not working as it should; problem found by
riq@core-sdi.com, millert@ ok.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.7 19-Mar-2000 aaron

Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other
cleanup along the way.


# 1.6 04-Mar-2000 aaron

In Unix land we prefer "whitespace" to "white space" or "white-space". At
least, this is the impression I get from looking at a lot of Perl docs.


Revision tags: OPENBSD_2_6_BASE
# 1.5 05-Jun-1999 aaron

remove trailing whitespace, some Nm cleanup


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.4 09-Nov-1997 todd

$OpenBSD$


# 1.3 06-Nov-1997 bri

Understand sections in syslog.conf.
Current syslog.conf files are still understood andtreated the same.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.2 05-Jan-1996 deraadt

sync with 4.4lite2 version, as well as netbsd changes merged by perry.
retain openbsd changes too.


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision