summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.8
Commit message (Collapse)AuthorAgeFilesLines
* MFC r272028:bdrewery2014-10-021-1/+2
| | | | | | Make it more explicitly clear that -t will not change filename. Approved by: re (gjb)
* MFC r266463:bdrewery2014-06-051-2/+8
| | | | | - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by default for newsyslog(8).
* Have -n imply -r, since dry-run mode obviously doesn't require rootmarkj2013-01-031-1/+3
| | | | | | | privileges. Approved by: rstone (co-mentor) MFC after: 1 week
* Minor spelling fixes.joel2012-06-031-1/+1
|
* Sync manpage's SYNOPSIS with program's usage.ru2011-03-091-3/+2
|
* Use correct alphabetical order for xz(1) in SEE ALSO sectionmm2011-01-311-1/+1
| | | | | | | of newsyslog manpages. Reported by: maxim MFC after: 3 weeks
* Add xz(1) support to newsyslog.mm2011-01-311-1/+2
| | | | | | | Rewrite and simplify logfile compression code. Approved by: gad MFC after: 3 weeks
* Add a -S switch to override the default syslog pid file. This can be usefulbrian2010-07-231-1/+8
| | | | | | if syslogd's -P switch or a syslogd alternative is being used. MFC after: 3 weeks
* Add support for creating the archived log filenames using a time-stampsimon2010-07-221-0/+31
| | | | | | | | | | | | | | | | | | | instead of the traditional simple counter. Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation. This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles. PR: bin/29363 MFC after: 3 weeks
* mdoc: move remaining sections into consistent orderuqs2010-05-131-7/+7
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* Add a new option, -P, which reverts newsyslog(8) to the old behavior,delphij2010-01-201-2/+6
| | | | | | | | | which stops to proceed further, as it is possible that processes which fails to create PID file get screwed by rotation. Requested by: stas MFC after: 2 weeks X-MFC with: r200806
* Markup fixes.ru2005-06-141-7/+7
| | | | Approved by: re (blanket)
* Add the -N option to not rotate any files. This is to be used inbrooks2005-03-031-1/+8
| | | | | | | | | | cojunction with -C and is used by /etc/rc.d/newsyslog. I forgot that this was in my perforce tree and not my running system and thus committed a non-working newsyslog script. Reported by: des Pointy hat: brooks
* Add a HISTORY section.trhodes2005-02-241-1/+8
| | | | PR: 75282
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Fixed xrefs.ru2005-01-211-1/+1
|
* Sort sections.ru2005-01-181-7/+7
|
* Add a new -d argument which is used to specify an alternate root for logbrooks2004-10-041-0/+10
| | | | | files similar to DESTDIR in the BSD make process. This only affects log file paths not config file (-f) or archive directory (-a) paths.
* Mechanically kill hard sentence breaks.ru2004-07-021-6/+12
|
* Remove information about the configuration file.trhodes2004-03-111-308/+3
| | | | Add an Xref to newsyslog.conf.5 and bzip2.1.
* Add a -C (create) option for newsyslog, and a 'C' flag for entries in thegad2003-04-271-2/+21
| | | | | | | | | | config file. If the -C option is specified once, then newsyslog will create any entries which specify the 'C' option. If -C is given twice, then newsyslog will create all missing log files. Some of this code comes from NetBSD, although this implementation does not exactly match theirs. Reviewed by: freebsd-arch MFC after: 10 days
* Document support for the new 'U' flag, which was implemented back in Marchgad2003-04-241-6/+17
| | | | | | as revision 1.64 of newsyslog.c. I plan to MFC these changes next week. MFC after: 1 week
* Document support for the new -s and -R command-line options, andgad2003-04-241-51/+124
| | | | | | | | | | | the 'N' flag. These were coded in March as revisions 1.55 and 1.56 of newsyslog.c. I intend to MFC all the matching changes next week. This also reorganizes the description of the 'flags' field to give list of the valid flags, instead of a long paragraph explaining each of the possible values. Obtained from: NetBSD (in spirit at least, for -s and N) MFC after: 1 week
* Document support for the <default> entry, which was implemented ingad2003-04-231-2/+8
| | | | | | | revision 1.50 of newsyslog.c , back in February. I intend to MFC those changes soon. MFC after: 4 days
* english(4) police.schweikh2002-12-271-2/+2
|
* Add a new `W' flag, that when used in conjunction with the `Z' flag or thesobomax2002-12-151-0/+18
| | | | | | | | | | | | | | `J' flag means that newsyslog should wait for previously started compression jobs to complete before starting a new one for this entry. When it is used along with the `G' flag, in the case when several logfiles match the pattern and should be compressed, the newsyslog will compress logs one by one, ensuring that only one compression job is running at a time. This prevents newsyslog(8) from overloading system by starting several compression jobs on big files simultaneously. Sponsored by: Porta Software Ltd MFC after: 2 weeks
* - Allow comments to be placed at the end of configuration line.sobomax2002-12-111-2/+6
| | | | | | Sponsored by: Porta Software Ltd Approved by: re MFC after: 2 weeks
* mdoc(7) police: markup fixes.ru2002-11-271-1/+1
| | | | Approved by: re
* Add a new newsyslog.conf flag - 'G', which if set tells newsyslog(8) thatsobomax2002-11-141-0/+10
| | | | | | | | | | the specified filename of the log to be rotated is in fact shell glob pattern. In this case, all files matching this pattern will be rotated using the same options. Useful in the case when there is no pre-defined name for the logfiles (e.g. xtradius, samba etc). Sponsored by: PortaOne Software Ltd MFC after: 2 weeks
* The .Nm utilitycharnier2002-07-141-2/+3
|
* Add the ability to Bzip2 your logs.obrien2001-07-301-0/+5
| | | | | PR: 27901 Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me)
* Note the equivalence of certain time formats.wollman2001-07-191-1/+8
|
* Instead of giving an example of rotating logs at the end of the month,dd2001-07-191-2/+3
| | | | | | | | | give an example of how to rotate logs at the beginning of the month. Although they sound the same, since both of them rotate logs at the beginning of the day, the former ended up taking place on, e.g., July 31 00:00 instead of the expected July 31 23:59. This is contraty to POLA. Submitted by: Dan Langille <dan@langille.org>
* Remove whitespace at EOL.dd2001-07-151-17/+17
|
* Fix a grammar bogon.dd2001-04-021-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-20/+6
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Allow user to specify which logs to rotatedes2000-05-111-0/+6
|
* - implement logfile archivation to a separate, userhm2000-04-041-9/+99
| | | | | | | | | | | | configurable directory - implement alternate and more flexible way to specify logfile rotation time in addition to the ISO 8601 restricted format - cleanup the source which was a mix of several styles of persons who maintained it so far, ran through knfom script got from bde. Reviewed by: (in part) sheldonh and garyj
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* .Nm correctionscharnier1999-11-271-5/+8
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Correctly refer to the companion program rather than as "chown".obrien1999-07-281-5/+8
| | | | Clean up wording a little (like I have any idea what real English looks like...)
* Syntax for user/group is changed from "user.group" to "user:group" to beobrien1999-06-281-3/+11
| | | | consistant with chown(8).
* Fix description of size, it's in kilobytes, not bytes.chuckr1999-04-101-2/+3
|
* jkoshy forgot up update the heading date on the man page.wollman1999-01-281-2/+2
|
* Note that the 'owner.group' field is optional in the config file.jkoshy1999-01-271-3/+3
| | | | | PR: docs/9602 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
* A slight bit of code and doco cleanup, but mostly:wollman1999-01-221-20/+116
| | | | | | | | Add the much-needed and long-desired ability to force the log rotation to take place on a specific day or time, and document same. This works by extending the syntax of the `when' field to allow a restricted ISO 8601 time specification, and performing the log rotation if newsyslog is run during the same hour as is specified.
* Add optional config file field: signal number to send (defaulted to HUP)ache1998-06-091-2/+8
| | | | F.e. apache restarts less agressively on USR1 then on HUP
* Arg! Someone fixed the synopsis in -stable's newsyslog.8, but nothoek1998-05-101-2/+2
| | | | | in -current. However, they fixed both the ordering and the missing -F flag. Merge from 22 and fix ordering here, too.
OpenPOWER on IntegriCloud