Commit Graph

31 Commits

Author SHA1 Message Date
fair
c680acdbd9 Document that the flags in the configuration file are parsed
in a case-insensitive manner, per PR 22985
2004-03-24 02:25:15 +00:00
erh
c0513eb911 Fix typo in the description of the -n option. 2003-08-25 19:06:57 +00:00
wiz
8da6fdd09d Restrict ".Sm off" to the parts where it is wanted. 2003-06-27 22:25:08 +00:00
wiz
5606e5cc70 Correct spelling of "specification". From PR 20717 by Igor Sobrado. 2003-03-15 19:18:41 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant
2ceb845887 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 15:59:16 +00:00
wiz
7601fe2090 usable instead of useable. From Adrian Mrva. 2002-10-02 15:20:10 +00:00
grant
6f52a8d075 minor mdoc quoting nit. 2002-09-30 10:41:54 +00:00
grant
c3f8c787a1 New sentence, new line. Some mdoc cleanup. 2002-09-30 10:39:22 +00:00
heinz
bbae4f0cf0 synced field name with '/etc/newsyslog.conf' and clarified the 'size' unit 2002-03-29 02:45:54 +00:00
wiz
7983dccb45 Sort sections, use Nx. 2001-12-08 19:09:16 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
lukem
279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
ad
07318ea12f Document `-s' option. 2000-09-21 10:29:11 +00:00
ad
a6ecf36d33 On NetBSD, the effect of the maximum age specification and specific interval
specification are independant of one another.
2000-08-09 13:57:22 +00:00
ad
677a105692 More work on newsyslog(8):
- Add some comments. It might be getting a little unclear what's going on.
- Make it useful as non-root.

Also, some new features taken from FreeBSD. The last two are not well
tested yet:

- Specifing log files on the command line limits operation to those files.
- Add cyclic time specification for periodic trimming.
- Add restricted ISO-8601 time specification for periodic trimming.
2000-07-18 15:59:24 +00:00
ad
ef0846927c - Detail flags in manpage using a table.
- Typo patrol.
- Add new flag, `p': keep zero'th historical log file uncompressed (plain).
  Inspired by woods' newsyslog package.
2000-07-11 11:39:46 +00:00
ad
e854f5df38 Sorry about breakage - no connectivity at evenings or weekends for me. Anyway:
- Put back `-n' option. This is a slight improvement on its predecessor.
- More paranoid error checking.
- Fix miscellaneous buglets.
2000-07-10 11:15:07 +00:00
ad
e55de4b4cf Overhaul newsyslog(8). Changes:
- Code cleanup.
- Better flowing English in manpage (in places).
- `-n' option has been removed (was mainly a debugging convenience, I think).
- Add `C' flag: create log file if one doesn't exist.
2000-07-07 10:52:41 +00:00
cgd
1fa77b6d55 Use:
.Sh SEE ALSO
rather than:
	.Sh "SEE ALSO"
The former is the correct form, and it makes a (barely persceptible)
difference in formatting for some output devices (e.g. 'ps').
1999-12-29 06:54:00 +00:00
ad
22ee5fa9d2 Shiny new manpage for newsyslog(8), based on that from FreeBSD. 1999-11-30 12:04:14 +00:00
ad
37a134f54b Add a new optional parameter to the configuration file, specifying the
path to a file containing a PID to send SIGHUP to. If omitted, the default
is to signal syslogd. Idea from FreeBSD.
1999-10-06 13:26:28 +00:00
ad
b545302160 Allow use of use of ':' to separate user and group names, since elsewhere
'.' is a valid character in user and group names. '.' still works, but
':' takes priority.
1999-10-05 12:11:27 +00:00
lukem
5d37ffa7eb fix the the typos 1996-11-10 23:58:22 +00:00
thorpej
1d4301453f RCS id police. 1996-09-27 01:56:55 +00:00
jtc
c15bd8dda9 Changed so that log entry format used when logfiles are rolled over
matches that of syslogd(8).  This is a slightly modified version of
the patch Thorsten Lockert supplied with PR #684.

Changed manpage to reflect the fact that we are using gzip instead
compress.
1995-01-06 19:20:20 +00:00
cgd
5f5f68f982 the config file is in /etc, not /var/adm (which doesn't exist) 1993-10-05 00:51:20 +00:00
cgd
0928aae252 a couple of doc fixes from Havard Eidnes, and a couple more
that i noticed.
1993-08-01 18:49:39 +00:00
mycroft
c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
cgd
6da19b6501 use the correct (or so john brezak says) copyright. 1993-05-21 14:47:29 +00:00
cgd
90beb7e48c initial import of this log-rotation program to NetBSD 1993-05-21 14:43:59 +00:00