History log of /freebsd-current/usr.sbin/syslogd/syslog.conf.5
Revision Date Author Comments
# 8a7b6120 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 86781401 21-Sep-2021 Felix Guest <felix.the.red@gmail.com>

syslog.conf.5: Fix the message priority order

PR: 219942
MFC after: 1 week


# 37d8e9a3 10-Dec-2020 John-Mark Gurney <jmg@FreeBSD.org>

fix up documentation/comments: processname is not defined, but programname
is..

a couple other minor documentation fixes that igor caught...

MFC after: 1 week


# cbf54131 20-Nov-2020 Gordon Bergling <gbe@FreeBSD.org>

syslog.conf(5): Fix a few mandoc warnings

- new sentence, new line
- skipping paragraph macro: Pp at the end of Sh


# ccf8b02c 25-Mar-2020 Andrey V. Elsukov <ae@FreeBSD.org>

Fix typo.

MFC after: 2 weeks


# 7d367c51 26-Mar-2020 Andrey V. Elsukov <ae@FreeBSD.org>

Add property-based filters for syslogd.

Property-based filters allow substring and regular expressions
(see re_format(7)) matching against various message attributes.
Filter specification starts with '#:' or ':' followed by three
comma-separated fields property, operator, "value". Value must be
double-quoted. A double quote and backslash must be escaped by a
blackslash.

Following properties are supported as test value:
o msg - body of the message received;
o programname - program name sent the message;
o hostname - hostname of message's originator;
o source - an alias for hostname.

Supported operators:
o contains - true if filter value is found as a substring of property;
o isequal - true if filter value is equal to property;
o startswith - true if property starts with filter value;
o regex - true if property matches basic regular expression defined
in filter value;
o ereregex - true if property matches extended regular expression
defined in filter value;

Operator may be prefixed by '!' to invert compare logic or by
'icase_' to make comparison function case insensitive.

Submitted by: Boris N. Lytochkin <lytboris at gmail com>
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D23468


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# fdec22c3 31-Oct-2016 Baptiste Daroussin <bapt@FreeBSD.org>

syslogd(8): add an 'include' keyword

All the '.conf' files not beginning with a '.' contained int he directory
following the keyword will be included.

This keyword can only be used in the first level configuration files.

Modify the default syslogd.conf to 'include' /etc/syslog.d and
/usr/local/etc/syslog.d

It simplify a lot handling of syslog from automation tools.

Reviewed by: markj, kib (via irc)
Approved by: markj
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D8402


# b5bec591 12-Sep-2012 Eitan Adler <eadler@FreeBSD.org>

Add documentation for IPv6 support

PR: docs/171580
Submitted by: bdrewery
Reviewed by: wblock
Approved by: gjb
MFC after: 1 month
X-MFC-With: r240389


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 5cd1d3ff 11-Jun-2009 Andriy Gapon <avg@FreeBSD.org>

syslog.conf(5): correct example

security.* and console.* are moved out of ftpd program block

Approved by: jhb (mentor)
MFC after: 2 weeks


# 5b34e708 23-Dec-2008 Tom Rhodes <trhodes@FreeBSD.org>

Add "crit" to the list of keywords.

PR: 126934


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 7e1535c5 09-Jul-2008 Maxim Sobolev <sobomax@FreeBSD.org>

Allow comment to be placed at the end of a configuration line.

MFC after: 2 weeks


# 42c3aae2 11-Oct-2006 Tom Rhodes <trhodes@FreeBSD.org>

Mark up keywords with .Cm.

PR: 95039
Sumitted by: SeaD (older version)
Reviewed by: ru


# bc84aa4b 29-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# be389c75 17-Apr-2006 Julian Elischer <julian@FreeBSD.org>

Add the ability to log to an arbitrary udp port as well as the
standard syslog port. This allows syslog to easily export lines of interest to
an external logging system.


# f47dba63 23-Feb-2006 Julian Elischer <julian@FreeBSD.org>

Fix typo


# 6fb9b618 30-Jul-2005 Giorgos Keramidas <keramida@FreeBSD.org>

Fix all the spelling mistakes I could find in the man pages for words
that have at least 3 characters.

MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.


# 36a142c4 13-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Expand contractions.


# 0227791b 13-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Expand *n't contractions.


# 59a3c79d 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# 486c8cc4 06-Aug-2004 Warner Losh <imp@FreeBSD.org>

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


# 455fb174 03-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Eliminated double whitespace.


# 07bfccd7 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 0f2ffc4e 30-May-2004 David Malone <dwmalone@FreeBSD.org>

A log file name may now be prefixed by a '-' if it should not be
explicitly fsynced after kernel messages are logged. This option
should be syntax compatible with a similar option in Linux syslogd.

I've made some small changes to Pekka's patch, hoepfully I haven't
goofed anything.

PR: 66790
Submitted by: Pekka Savola <pekkas@netcore.fi>
Obtained from: Martin Schulze's syslogd
MFC after: 1 month


# 7ac1f02e 12-Feb-2003 Thomas Quinot <thomas@FreeBSD.org>

Allow multiple hosts or programs to be named in program
or host specifications, eg:

!foo,bar
*.* /var/log/only_foo_or_bar.log

!-foo,bar
*.* /var/log/all_except_foo_or_bar.log

Reviewed by: roberto
Not objected to by: arch@


# 6b010ec6 23-Dec-2002 Tom Rhodes <trhodes@FreeBSD.org>

Various language tweaks.

PR: 45604
Submitted by: Chris Pepper <pepper@rockefeller.edu>


# 8d5d039f 12-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

Uniformly refer to a file system as "file system".

Approved by: re


# c041c1e0 27-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup fixes.

Approved by: re


# f50b861c 23-Sep-2002 Daniel C. Sobral <dcs@FreeBSD.org>

Introduce to the !program specification a capability similar to the one
that already exists for hosts: being able to specify a section that applies
to every program *except* the one in question.

The normal syntax for program specification is still valid. For the new
capability, one uses:

!-program

Since there is no way to specify a program beginning with a dash in the old
syntax, as it would be interpreted as the case above, the following
alternative syntax to the original capability is provided:

!+program

This shouldn't introduce incompatibilities with any syslogd configuration
in production because -stable's syslogd does not support a dash anywhere in
the program specification.

MFC after: 2 weeks


# ef21d92f 04-Sep-2002 David Malone <dwmalone@FreeBSD.org>

Make syslogd -u treat "*" as all levels by explictly setting pri_cmp
for it.

While I'm here, add a the ability to say "!level" in a way which
should be compatible with Linux's syslogd.

PR: 28935
No objections: audit
MFC after: 2 weeks


# 67c8020f 15-May-2002 Tom Rhodes <trhodes@FreeBSD.org>

Consistancy check: s/file system/filesystem/g


# 7ae71655 28-Aug-2001 Crist J. Clark <cjc@FreeBSD.org>

Fix some small errors and markup nits.

Approved by: ru
MFC after: 2 days


# 94ba280c 10-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: join split punctuation to macro calls.


# f247324d 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 70d51341 09-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


# 90b4a69f 04-Apr-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed hard sentence break.


# 5c620e2d 27-Mar-2001 Chris Timmons <cwt@FreeBSD.org>

Document LOG_CONSOLE.


# 610a5778 01-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: split punctuation characters + misc fixes.


# 481a1902 17-Oct-2000 David Malone <dwmalone@FreeBSD.org>

Syslogd normally converts messages of facility kern to facility
user unless they come directly from the kernel. Document this and
add a flag to syslogd which prevents this conversion.

Sort getopt args while I'm at it.

PR: 21788
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>


# a144588d 24-Jul-2000 David Malone <dwmalone@FreeBSD.org>

Allow syslogd to select messages based on the originating host in
a similar way to the way it can select messages from a given program.

Lines beginning with "+hostname" or "#+hostname" select messaes
from that hostname and lines beginning with "-hostname" or "#-hostname"
match messages not from that hostname.

There are some significant style issues left in the original program
selection code and the man page. This should be cleared up in some
later commits.

Reviewed by: sheldonh
Based on an original patch by: Bernd Walter <ticso@cicely8.cicely.de>
Man page stylist: sheldonh


# f2e366a1 01-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 922a51ee 23-Jan-2000 Philippe Charnier <charnier@FreeBSD.org>

Add section number to .Xr. Use .Pa for filenames.
fprintf -> warnx.


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# fa62586a 21-Aug-1999 Brian Feldman <green@FreeBSD.org>

This is the addition of a syslog(3) security.* top-level category. This
should be used from now on for anything security but not auth-related.
Included are updates for all relevant manpages and also to /etc files,
creating a new /var/log/security. Nothing in the system logs to
/var/log/security yet as of the time of this commit.

Reviewed by: rgrimes, imp, chris


# 60159a06 03-Dec-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Allow either tabs or spaces in configuration files.

PR: 8762
Submitted by: Igor Roshchin <str@giganda.komkon.org>


# 2eec1ab0 22-Jul-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Add -u, -v and -vv options to syslogd, this improves the control and
logging verbosity about facility & priority levels.
PR: 7278
Reviewed by: phk
Submitted by: Harlan Stenn <Harlan.Stenn@pfcs.com>


# d2b4b1fa 09-Jun-1998 Julian Elischer <julian@FreeBSD.org>

Allow syslogd to separate out kernel log messages with a known
category.
e.g. separate out ipfw entries to a separate file.

Reviewed by: (briefly) phk
Submitted by: archie@whistle.com
Obtained from: Whistle source tree


# b8b7e105 19-Oct-1997 Philippe Charnier <charnier@FreeBSD.org>

Cosmetic in usage string.


# 605efc87 06-Oct-1997 Joerg Wunsch <joerg@FreeBSD.org>

Documentation for the LOG_NTP facility. While i was at it, added a
bit of a warning about not all systems providing for the same set of
syslog facilities.


# 81be6c75 14-Sep-1997 Joerg Wunsch <joerg@FreeBSD.org>

Explain a little more about the piping feature.
PR: 4122


# 24685462 29-Apr-1997 John-Mark Gurney <jmg@FreeBSD.org>

add an Id line, minor mdoc fix ups

add ftp to list of facilities in syslog.conf
Closes PR#3389
Submitted-by: Pius Fischer


# 7fa793cc 22-Feb-1997 Mike Pritchard <mpp@FreeBSD.org>

Typo police.


# 5fadfc4c 21-Feb-1997 Joerg Wunsch <joerg@FreeBSD.org>

The "burn-in" phase has finished: this set of patches seems to run
stable now at a customer's site.

Finally add the ability to syslogd to pipe particular messages through
an arbitrary filtering command. Idea stolen from IRIX.

This code is courtesy of the interface business GmbH, Dresden.

Comment about whether to also merge this into 2.2 or not, please.

Reviewed by: (long ago) peter


# 3d08ec92 27-Sep-1996 Paul Traina <pst@FreeBSD.org>

Add info field.
Closes pr docs/1679.


# f8c034f9 03-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Updates from Peter da Silva to match the recent syslogd changes.
Submitted by: pds


# dea673e9 25-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite usr.sbin Sources