OpenBSD CVS

CVS log for src/usr.bin/newsyslog/newsyslog.8


[BACK] Up to [local] / src / usr.bin / newsyslog

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55 / (download) - annotate - [select for diffs], Mon Apr 22 14:16:14 2024 UTC (3 weeks, 6 days ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

mark the "signal" field as optional; from alvar penning
ok millert

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 20 18:39:16 2017 UTC (6 years, 10 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored)

Don't exit on invalid config lines, yet return a proper exit status.

newsyslog(8) is mainly used to proces log files, not rotating them
because of an invalid field means that /var will end up full.
Initially I wanted to ignore only getpwnam/getgrnam errors, but millert@
convinced me otherwise.  malloc(3) errors are still fatal.

Diff prompted by a report from Harald Dunkel, ok millert@

Revision 1.53 / (download) - annotate - [select for diffs], Sat Nov 14 01:22:04 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.52: +4 -3 lines
Diff to previous 1.52 (colored)

these files document their config files too: adjust NAME accordingly;
ok schwarze

Revision 1.52 / (download) - annotate - [select for diffs], Tue Sep 16 16:27:23 2014 UTC (9 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.51: +3 -4 lines
Diff to previous 1.51 (colored)

less sendmail specific; ok millert

Revision 1.51 / (download) - annotate - [select for diffs], Mon Sep 8 01:27:55 2014 UTC (9 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.50: +5 -5 lines
Diff to previous 1.50 (colored)

obvious cases of missing .An;
found with the new mandoc(1) MANDOCERR_AN_MISSING warning;
no text changes

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jan 17 21:29:14 2013 UTC (11 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

remove uesless Pp;

Revision 1.49 / (download) - annotate - [select for diffs], Mon Sep 26 19:41:56 2011 UTC (12 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.48: +21 -20 lines
Diff to previous 1.48 (colored)

use, as far as possible, the same notation for date strings as other
manual pages; whilst here, a little clean up for clarity

ok millert

Revision 1.48 / (download) - annotate - [select for diffs], Fri Sep 16 19:36:07 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored)

after some thought, i think it unlikely that we will need to specify
a revision number for ISO 8601; in addition, the revision number makes
the text unwieldy when discussing the standard in a casual manner.

therefore change the macro from -8601-4 to simply -8601, which will output
"ISO 8601". i'll get kristaps or ingo to make the change upstream to mandoc.

discussed with/ok millert

Revision 1.47 / (download) - annotate - [select for diffs], Fri Sep 16 15:01:58 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored)

use .St here for ISO 8601 references; ok millert

Revision 1.46 / (download) - annotate - [select for diffs], Thu May 19 05:11:39 2011 UTC (13 years ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

sync manpage and comment with reality. From Nathanael Rensen.

ok millert@

Revision 1.45 / (download) - annotate - [select for diffs], Sat Nov 28 14:42:04 2009 UTC (14 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.44: +24 -21 lines
Diff to previous 1.44 (colored)

The first paragraph of the DESCRIPTION had multiple issues,
so rewrite it from scratch.  Joint work with jmc@.

Originally triggered by lars dot curator at gmail dot com
by requesting the addition of the word "rotate",
also using some observations from matthew at dempsky dot org.

OK jmc@   ":-)" sthen@

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 31 19:20:13 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

convert to new .Dd format;

Revision 1.43 / (download) - annotate - [select for diffs], Thu Aug 10 16:44:20 2006 UTC (17 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

missing full stop; from matt jibson

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 23 19:19:43 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.41: +8 -4 lines
Diff to previous 1.41 (colored)

some clarifications for the "size" field + cleanup;
based on a diff from ingo schwarze;

Revision 1.41 / (download) - annotate - [select for diffs], Wed Nov 30 11:18:27 2005 UTC (18 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

timezone -> time zone

Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 2 15:47:29 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.39: +23 -23 lines
Diff to previous 1.39 (colored)

sort options while here;

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 2 15:42:08 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.38: +7 -4 lines
Diff to previous 1.38 (colored)

rework some .Ss section as .Sy: groff does not like .Ss's in the middle
of lists;

Revision 1.38 / (download) - annotate - [select for diffs], Fri Apr 9 19:21:14 2004 UTC (20 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.37: +6 -1 lines
Diff to previous 1.37 (colored)

If no user/group is specified for the log file in newsyslog.conf,
use the uid/gid of the existing log file.  OK deraadt@

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 23 23:08:47 2004 UTC (20 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jun 10 09:12:11 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 3 21:09:02 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +1 -8 lines
Diff to previous 1.34 (colored)

terms 3 & 4 cleanup based on "terms" file

Revision 1.34 / (download) - annotate - [select for diffs], Thu May 15 03:31:15 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.33: +7 -8 lines
Diff to previous 1.33 (colored)

Fix some typos, clarify a few bits, and fix a display issue with `:'.
Based on a patch rom Brian Poole

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 12 19:17:36 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.32: +164 -29 lines
Diff to previous 1.32 (colored)

Add support for rotating files at a specific time; from FreeBSD

Revision 1.32 / (download) - annotate - [select for diffs], Sun Feb 9 07:26:45 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

typos;

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jan 25 05:09:36 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.30: +11 -8 lines
Diff to previous 1.30 (colored)

Make monitor section match the actual code.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 6 08:47:23 2003 UTC (21 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

typo; jmc@prioris.mini.pw.edu.pl

Revision 1.29 / (download) - annotate - [select for diffs], Thu Sep 19 21:22:59 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.28: +6 -1 lines
Diff to previous 1.28 (colored)

Deal with someone specifying an empty string for the command to run
and make it mean "send no signal and run no command".

Revision 1.28 / (download) - annotate - [select for diffs], Tue Sep 17 20:44:38 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.27: +11 -1 lines
Diff to previous 1.27 (colored)

Allow user to restrict logs to be rotated by specifying pathnames on
the command line.  The default is to rotate all files in newsyslog.conf

Revision 1.27 / (download) - annotate - [select for diffs], Tue Sep 17 20:16:43 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.26: +13 -2 lines
Diff to previous 1.26 (colored)

Add -F (force) flag; inspired by FreeBSD

Revision 1.26 / (download) - annotate - [select for diffs], Tue Sep 17 20:03:40 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.25: +18 -1 lines
Diff to previous 1.25 (colored)

Add -a flag to specify a directory to store archived logs.  Based on
changes I made years ago to a private version of newsyslog but with
the option renamed to match FreeBSD.  Note that unlike the FreeBSD
-a flag, we don't automagically create the archive dir if it doesn't exist.
OK deraadt@ and todd@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 13 19:00:08 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

remove trailing whitespace

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 13 18:50:09 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.23: +10 -3 lines
Diff to previous 1.23 (colored)

Don't rotate log files < 512 bytes unless in binary mode.  This
prevents newsyslog from rotating a file that only contains the
messages that the log file was turned over.  deraadt@ OK

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 13 01:12:55 2002 UTC (21 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Use .Dv for SIGUSR1 like all the other signal names.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 26 23:36:14 2002 UTC (21 years, 10 months ago) by wcobb
Branch: MAIN
Changes since 1.21: +4 -1 lines
Diff to previous 1.21 (colored)

Don't follow symbolic links for (ie. user-owned) log files by default;
closes pr #1913.

ok millert@

Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 2 18:37:35 2001 UTC (22 years, 9 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

o) .Sh AUTHOR -> .Sh AUTHORS;
o) .Sh EXAMPLE -> .Sh EXAMPLES;
o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION;

millert@ ok

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 1 20:34:10 2001 UTC (23 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.19: +20 -21 lines
Diff to previous 1.19 (colored)

Remove -t option from getopt() since it doesn't exist; mpech@prosoft.org.lv.
Also rearrage options in the man page while I'm here.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 2 19:39:33 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.18: +7 -1 lines
Diff to previous 1.18 (colored)

Explicitly state that newsyslog does not send a HUP to syslogd if
you tell it to run a command for the log file.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 10 19:07:22 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.17: +74 -62 lines
Diff to previous 1.17 (colored)

Various cleanups and standardization.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 5 00:28:53 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
Changes since 1.16: +3 -4 lines
Diff to previous 1.16 (colored)

Finish standardizing options list introduction.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 11 22:24:14 1999 UTC (24 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.15: +12 -2 lines
Diff to previous 1.15 (colored)

Add support for sending signals other than SIGHUP and optionally
run a command instead of sending a signal.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jul 3 02:11:09 1999 UTC (24 years, 10 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)

remove redundant .Pp macros

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 5 04:16:05 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

capitalize the acronym ID

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 5 01:21:35 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.12: +52 -32 lines
Diff to previous 1.12 (colored)

- remove trailing white space
- remove arguments from .Os macros
- remove arguments from .Nm macros, where appropriate
- some more Dq/Sq/Ql insanity
- still lots to do in the usr.bin tree... :/

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 23 14:11:30 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common
is used instead; kwesterback@home.com

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 12 11:54:50 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

efault -> default; steve@tightrope.demon.co.uk

Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 16 02:38:50 1998 UTC (25 years, 5 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

more .Nm fixes

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 11 23:01:45 1998 UTC (25 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

remove redundant .Pp macros

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 27 16:57:48 1998 UTC (25 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.7: +16 -13 lines
Diff to previous 1.7 (colored)

usr.bin/ man page cleanups, n-s

Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 24 03:36:58 1998 UTC (25 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.6: +5 -1 lines
Diff to previous 1.6 (colored)

Add optional support for pid files other than /var/run/syslog.pid
Useful for rotating httpd logs.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 7 03:04:49 1998 UTC (26 years, 2 months ago) by d
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

he -> the, and simplified a warning

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jul 8 00:00:48 1997 UTC (26 years, 10 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

Note about email and notifications.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 7 23:17:40 1997 UTC (26 years, 10 months ago) by downsj
Branch: MAIN
Changes since 1.3: +129 -110 lines
Diff to previous 1.3 (colored)

Updated, mandoc, manual.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 10 09:06:32 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

"the the" purge

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:28 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:51 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:51 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.