summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.8
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 1) Remove a line that somehow strayed from the one true path ofhoek1998-05-101-3/+2
| | | | | its sentence. 2) Fix usage (-F option).
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Add "-F" (force) flag to newsyslog.pst1998-03-141-1/+7
| | | | Submitted by: Terry Lambert <terry@freebsd.org>
* Cosmetic in err() strings.charnier1997-10-061-21/+23
|
* Show the real revision date and not the date that thissteve1997-06-231-2/+2
| | | | manpage is being viewed.
* Allow a '-' flag as a placeholder so that path_to_pid_filebrian1997-05-061-2/+6
| | | | | | can be specified without the flags field. Fix bogus "trail" left in parse routine where the code jumps past the end of the line and wanders into oblivion.
* 1) Add yet one optional field: pid file to send SIGHUP to if log rotatedache1997-05-041-2/+8
| | | | | | | | | | | (good thing for apache f.e.) This change is backward compatible with old newsyslog.conf files. 2) Do not compress log if SIGHUP sending failed for some reason (f.e. pid file deleted). Newcoming messages will be lost otherwise. 3) Misc cleanup while I am here.
* Add a missing period so that the -n option is display properlympp1997-02-281-2/+2
| | | | | | in the man page output. Closes PR# 2831. Submitted by: Marc Slemko <marcs@znep.com>
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
OpenPOWER on IntegriCloud