History log of /openbsd-current/etc/newsyslog.conf
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.38 05-Jan-2022 deraadt

increase lifetime of wtmp, since it is annoyingly short
discussed with millert


# 1.37 08-Dec-2021 martijn

wtmp doesn't need to reload syslogd.

From Anton Kasimov <kasimov <dot> an <at> gmail <dot> com>
OK bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.36 27-Dec-2016 jca

Remove user uucp and group news from base.


Revision tags: OPENBSD_6_0_BASE
# 1.35 01-Jun-2016 tedu

increase permitted sizes for daemon and messages. i overflow them too
frequently for my taste, and disk is cheap.
ok deraadt millert


Revision tags: OPENBSD_5_9_BASE
# 1.34 14-Oct-2015 millert

Allow group wheel to read the mail log. OK gilles@ sthen@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.33 27-Aug-2014 naddy

Add httpd default log files to the rotation.
ok reyk@ (who suggested these lines a while ago)


# 1.32 26-Aug-2014 robert

usr.sbin


Revision tags: OPENBSD_5_6_BASE
# 1.31 21-Mar-2014 ajacoutot

Add nginx default log files to the rotation.

ok jung@ stephan@
tweaks and ok sthen@


# 1.30 17-Mar-2014 sthen

ppp.log was just for ppp(8)


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 14-Apr-2011 sthen

Don't compress wtmp by default; the tools dealing with this log are
cumbersome to use with compressed files. Idea from ian@ following
a discussion started with a diff to last(1) from by Peter Philipp.

ok martynas@ mk@ millert@


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.28 29-Jun-2010 stephan

zap superfluous newline. ok sthen@


Revision tags: OPENBSD_4_7_BASE
# 1.27 03-Nov-2009 deraadt

Get rid of pflogd.pid because the privsep child cannot delete the pidfile;
use pkill(1) in /etc/newsyslog.conf instead
together with otto and suggestions from tedu


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.26 02-Feb-2007 ajacoutot

- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead of the deprecated "+" option
(idea from mk@)
- rotate /var/log/wtmp every week just after weekly ac(8) completes

ok mk@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.25 07-Feb-2005 david

indentation whitespace nits


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.24 11-Nov-2003 jmc

sync the field names with what's in the man page;
from Kurt Seifried;

ok millert@


# 1.23 06-Oct-2003 henning

finally remove the sample lines for httpd, causes problems as soon as
3rd party, chroot-unaware modules are loaded, if not sooner
ok millert@


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.22 12-Feb-2003 millert

missed one in the comment


# 1.21 12-Feb-2003 millert

Use ':' to separate login name from group name to match updated docs.


# 1.20 07-Nov-2002 pvalchev

Install /var/log/message 644 since the beginning and change back
newsyslog.conf to reflect that. More people seem to prefer that,
and it can be easily changed if you like it another way.
millert, fgs and others verbally agree


# 1.19 07-Nov-2002 pvalchev

/var/log/messages is mode 640 not 644 by default; root@shopip.com


Revision tags: OPENBSD_3_2_BASE
# 1.18 30-May-2002 deraadt

space nits


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.17 21-Sep-2001 beck

fix apache suggestion to leave files with root perms, rather than
changing to www.www - leaving them more easily modified by a problem
in a cgi or httpd. Also send SIGUSR1 for a graceful restart as apache
expects. noticed by mpech@, ok millert@


# 1.16 19-Sep-2001 millert

aculog should be writable by group dialer for tip/cu users


# 1.15 26-Aug-2001 matthieu

pflog is a binary file, ok jakob@


# 1.14 22-Aug-2001 deraadt

I forgot to list the pid file


# 1.13 21-Aug-2001 deraadt

my initial guess at pflog rollover config


# 1.12 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.11 22-Sep-2000 millert

Remove /var/run/ipmon.pid and add a comment saying when the user may
need to add it.


# 1.10 21-Sep-2000 millert

Change ipflog entry; joe@nall.com


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE
# 1.9 10-May-1999 art

Don't rotate kerberos logs. From: mattiasa@stacken.kth.se


Revision tags: OPENBSD_2_5_BASE
# 1.8 25-Mar-1999 beck

add web ssl logs to example for http rotating


Revision tags: OPENBSD_2_4_BASE
# 1.7 02-Oct-1998 millert

Add commented out entry to rotate www logs


# 1.6 19-Sep-1998 millert

rotate authlog and secure entries after 1 week


Revision tags: OPENBSD_2_3_BASE
# 1.5 17-Dec-1997 brian

Add /var/log/ppp.log


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.4 02-Apr-1997 kstailey

add ipflog


# 1.3 15-Dec-1996 millert

Sync'd with new syslog.conf changes


Revision tags: OPENBSD_2_0_BASE
# 1.2 26-May-1996 deraadt

sync & label


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


# 1.37 08-Dec-2021 martijn

wtmp doesn't need to reload syslogd.

From Anton Kasimov <kasimov <dot> an <at> gmail <dot> com>
OK bluhm@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.36 27-Dec-2016 jca

Remove user uucp and group news from base.


Revision tags: OPENBSD_6_0_BASE
# 1.35 01-Jun-2016 tedu

increase permitted sizes for daemon and messages. i overflow them too
frequently for my taste, and disk is cheap.
ok deraadt millert


Revision tags: OPENBSD_5_9_BASE
# 1.34 14-Oct-2015 millert

Allow group wheel to read the mail log. OK gilles@ sthen@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.33 27-Aug-2014 naddy

Add httpd default log files to the rotation.
ok reyk@ (who suggested these lines a while ago)


# 1.32 26-Aug-2014 robert

usr.sbin


Revision tags: OPENBSD_5_6_BASE
# 1.31 21-Mar-2014 ajacoutot

Add nginx default log files to the rotation.

ok jung@ stephan@
tweaks and ok sthen@


# 1.30 17-Mar-2014 sthen

ppp.log was just for ppp(8)


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 14-Apr-2011 sthen

Don't compress wtmp by default; the tools dealing with this log are
cumbersome to use with compressed files. Idea from ian@ following
a discussion started with a diff to last(1) from by Peter Philipp.

ok martynas@ mk@ millert@


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.28 29-Jun-2010 stephan

zap superfluous newline. ok sthen@


Revision tags: OPENBSD_4_7_BASE
# 1.27 03-Nov-2009 deraadt

Get rid of pflogd.pid because the privsep child cannot delete the pidfile;
use pkill(1) in /etc/newsyslog.conf instead
together with otto and suggestions from tedu


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.26 02-Feb-2007 ajacoutot

- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead of the deprecated "+" option
(idea from mk@)
- rotate /var/log/wtmp every week just after weekly ac(8) completes

ok mk@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.25 07-Feb-2005 david

indentation whitespace nits


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.24 11-Nov-2003 jmc

sync the field names with what's in the man page;
from Kurt Seifried;

ok millert@


# 1.23 06-Oct-2003 henning

finally remove the sample lines for httpd, causes problems as soon as
3rd party, chroot-unaware modules are loaded, if not sooner
ok millert@


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.22 12-Feb-2003 millert

missed one in the comment


# 1.21 12-Feb-2003 millert

Use ':' to separate login name from group name to match updated docs.


# 1.20 07-Nov-2002 pvalchev

Install /var/log/message 644 since the beginning and change back
newsyslog.conf to reflect that. More people seem to prefer that,
and it can be easily changed if you like it another way.
millert, fgs and others verbally agree


# 1.19 07-Nov-2002 pvalchev

/var/log/messages is mode 640 not 644 by default; root@shopip.com


Revision tags: OPENBSD_3_2_BASE
# 1.18 30-May-2002 deraadt

space nits


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.17 21-Sep-2001 beck

fix apache suggestion to leave files with root perms, rather than
changing to www.www - leaving them more easily modified by a problem
in a cgi or httpd. Also send SIGUSR1 for a graceful restart as apache
expects. noticed by mpech@, ok millert@


# 1.16 19-Sep-2001 millert

aculog should be writable by group dialer for tip/cu users


# 1.15 26-Aug-2001 matthieu

pflog is a binary file, ok jakob@


# 1.14 22-Aug-2001 deraadt

I forgot to list the pid file


# 1.13 21-Aug-2001 deraadt

my initial guess at pflog rollover config


# 1.12 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.11 22-Sep-2000 millert

Remove /var/run/ipmon.pid and add a comment saying when the user may
need to add it.


# 1.10 21-Sep-2000 millert

Change ipflog entry; joe@nall.com


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE
# 1.9 10-May-1999 art

Don't rotate kerberos logs. From: mattiasa@stacken.kth.se


Revision tags: OPENBSD_2_5_BASE
# 1.8 25-Mar-1999 beck

add web ssl logs to example for http rotating


Revision tags: OPENBSD_2_4_BASE
# 1.7 02-Oct-1998 millert

Add commented out entry to rotate www logs


# 1.6 19-Sep-1998 millert

rotate authlog and secure entries after 1 week


Revision tags: OPENBSD_2_3_BASE
# 1.5 17-Dec-1997 brian

Add /var/log/ppp.log


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.4 02-Apr-1997 kstailey

add ipflog


# 1.3 15-Dec-1996 millert

Sync'd with new syslog.conf changes


Revision tags: OPENBSD_2_0_BASE
# 1.2 26-May-1996 deraadt

sync & label


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.36 27-Dec-2016 jca

Remove user uucp and group news from base.


Revision tags: OPENBSD_6_0_BASE
# 1.35 01-Jun-2016 tedu

increase permitted sizes for daemon and messages. i overflow them too
frequently for my taste, and disk is cheap.
ok deraadt millert


Revision tags: OPENBSD_5_9_BASE
# 1.34 14-Oct-2015 millert

Allow group wheel to read the mail log. OK gilles@ sthen@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.33 27-Aug-2014 naddy

Add httpd default log files to the rotation.
ok reyk@ (who suggested these lines a while ago)


# 1.32 26-Aug-2014 robert

usr.sbin


Revision tags: OPENBSD_5_6_BASE
# 1.31 21-Mar-2014 ajacoutot

Add nginx default log files to the rotation.

ok jung@ stephan@
tweaks and ok sthen@


# 1.30 17-Mar-2014 sthen

ppp.log was just for ppp(8)


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.29 14-Apr-2011 sthen

Don't compress wtmp by default; the tools dealing with this log are
cumbersome to use with compressed files. Idea from ian@ following
a discussion started with a diff to last(1) from by Peter Philipp.

ok martynas@ mk@ millert@


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.28 29-Jun-2010 stephan

zap superfluous newline. ok sthen@


Revision tags: OPENBSD_4_7_BASE
# 1.27 03-Nov-2009 deraadt

Get rid of pflogd.pid because the privsep child cannot delete the pidfile;
use pkill(1) in /etc/newsyslog.conf instead
together with otto and suggestions from tedu


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.26 02-Feb-2007 ajacoutot

- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead of the deprecated "+" option
(idea from mk@)
- rotate /var/log/wtmp every week just after weekly ac(8) completes

ok mk@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.25 07-Feb-2005 david

indentation whitespace nits


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.24 11-Nov-2003 jmc

sync the field names with what's in the man page;
from Kurt Seifried;

ok millert@


# 1.23 06-Oct-2003 henning

finally remove the sample lines for httpd, causes problems as soon as
3rd party, chroot-unaware modules are loaded, if not sooner
ok millert@


Revision tags: OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.22 12-Feb-2003 millert

missed one in the comment


# 1.21 12-Feb-2003 millert

Use ':' to separate login name from group name to match updated docs.


# 1.20 07-Nov-2002 pvalchev

Install /var/log/message 644 since the beginning and change back
newsyslog.conf to reflect that. More people seem to prefer that,
and it can be easily changed if you like it another way.
millert, fgs and others verbally agree


# 1.19 07-Nov-2002 pvalchev

/var/log/messages is mode 640 not 644 by default; root@shopip.com


Revision tags: OPENBSD_3_2_BASE
# 1.18 30-May-2002 deraadt

space nits


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.17 21-Sep-2001 beck

fix apache suggestion to leave files with root perms, rather than
changing to www.www - leaving them more easily modified by a problem
in a cgi or httpd. Also send SIGUSR1 for a graceful restart as apache
expects. noticed by mpech@, ok millert@


# 1.16 19-Sep-2001 millert

aculog should be writable by group dialer for tip/cu users


# 1.15 26-Aug-2001 matthieu

pflog is a binary file, ok jakob@


# 1.14 22-Aug-2001 deraadt

I forgot to list the pid file


# 1.13 21-Aug-2001 deraadt

my initial guess at pflog rollover config


# 1.12 30-May-2001 deraadt

Remove ipf. Darren Reed has interpreted his (old, new, whichever)
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).


Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE
# 1.11 22-Sep-2000 millert

Remove /var/run/ipmon.pid and add a comment saying when the user may
need to add it.


# 1.10 21-Sep-2000 millert

Change ipflog entry; joe@nall.com


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE
# 1.9 10-May-1999 art

Don't rotate kerberos logs. From: mattiasa@stacken.kth.se


Revision tags: OPENBSD_2_5_BASE
# 1.8 25-Mar-1999 beck

add web ssl logs to example for http rotating


Revision tags: OPENBSD_2_4_BASE
# 1.7 02-Oct-1998 millert

Add commented out entry to rotate www logs


# 1.6 19-Sep-1998 millert

rotate authlog and secure entries after 1 week


Revision tags: OPENBSD_2_3_BASE
# 1.5 17-Dec-1997 brian

Add /var/log/ppp.log


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.4 02-Apr-1997 kstailey

add ipflog


# 1.3 15-Dec-1996 millert

Sync'd with new syslog.conf changes


Revision tags: OPENBSD_2_0_BASE
# 1.2 26-May-1996 deraadt

sync & label


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision