summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
Commit message (Collapse)AuthorAgeFilesLines
* english(4) police.schweikh2002-12-271-2/+2
|
* Make newsyslog(8) print the correct date when the logs are turned over.trhodes2002-12-211-2/+2
| | | | | | PR: 46395 Submitted by: maxim MFC: eventually
* Add a new `W' flag, that when used in conjunction with the `Z' flag or thesobomax2002-12-152-8/+38
| | | | | | | | | | | | | | `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
* Backout unapproved WARNS level change occasionally slipped into previoussobomax2002-12-111-1/+1
| | | | | | commit. Big pointy hat to: sobomax
* - Allow comments to be placed at the end of configuration line.sobomax2002-12-113-5/+21
| | | | | | 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-142-1/+29
| | | | | | | | | | 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
* Fix getopt(3) optstring: remove a flag we does not handle.maxim2002-10-161-1/+1
| | | | | | PR: bin/44066 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> MFC after: 1 week
* The .Nm utilitycharnier2002-07-141-2/+3
|
* Remove the last EOF spaces I missed in rev. 1.43.maxim2002-07-011-2/+2
| | | | MFC after: 1 week
* style(9): sort includes, remove EOL spaces.maxim2002-05-031-6/+6
| | | | MFC after: 1 week
* wait(2) for compress_log() processes to complete before exit.maxim2002-05-031-0/+3
| | | | | | Spotted by: Grigoriy Strokin <grg@isabase.philol.msu.ru> Reviewed by: -current MFC after: 1 month
* Close a very small window during which new (empty) instances of rotated logsheldonh2002-04-101-4/+13
| | | | | | | | | | | | | files are owned by the caller of newsyslog (usually root:wheel) even if alternative ownerships were specified in newsyslog.conf. Note that this is part of a wider problem which is fully addressed in OpenBSD. Anyone with the time and inclination to incorporate the full fix for the wider problem will receive no complaints from me and should feel free to walk all over this delta. PR: bin/36738 MFC after: 1 week
* Produce a different error message for mktime(3) failure than for badcjc2002-04-021-8/+14
| | | | | | newsyslog.conf syntax. PR: bin/36641
* Fix -F with logfiles rotated on time only.roam2002-02-051-1/+1
| | | | | Approved by: silence on -audit MFC after: 1 month
* Fix the type of the NULL arg to execl().obrien2001-11-141-1/+1
|
* WARNS= -> WARNS?=ru2001-09-211-1/+1
|
* jhb says a 10 line change containing casts is more invasive than a 28 lineobrien2001-07-311-14/+14
| | | | change.
* Use the POSIX syntax for chown.obrien2001-07-301-1/+1
| | | | Submmited by: garrett
* Simplify (and hopefully clarify) some date-parsing arithmetic.wollman2001-07-301-1/+1
|
* style(9)obrien2001-07-301-29/+59
|
* WARNS-2'ify.obrien2001-07-302-12/+14
| | | | (this included removing the funny "if (unsigned_var < 0)" test)
* Add the ability to Bzip2 your logs.obrien2001-07-303-7/+63
| | | | | PR: 27901 Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me)
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-1/+0
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* 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 the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Fix a grammar bogon.dd2001-04-021-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+2
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+0
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-20/+6
|
* - Correct MAXPATHLEN/MAXHOSTNAMELEN usagejedgar2001-01-201-36/+39
| | | | | | | - Check return values of malloc() and strdup() - Replace strcpy()/strcat()/sprintf() usage with strlcpy()/snprintf Reviewed by: -audit
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* When warning that a log file can't be compressed, tell the reader whichjoe2000-08-151-1/+1
| | | | log file it was.
* Allow user to specify which logs to rotatedes2000-05-112-10/+25
|
* - implement logfile archivation to a separate, userhm2000-04-042-101/+426
| | | | | | | | | | | | 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
* Run newsyslog source through knfom script obtained from Bruce Evans.hm2000-04-041-415/+422
| | | | | | Joerg Wunsch suggested to do this to make the functional changes in the next commit to newsyslog (which were run through the same script) better visible.
* 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-284-4/+4
|
* 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...)
* Go back to allowing ``.'' as a username.group separator for backwardobrien1999-07-281-2/+3
| | | | | | | | | compatibility. : is still the documented non-ambiguous approach. The algorithm used will correctly parse david.obrien.staff as strrchar() is used, and in my mind more people would use a ``.'' in the username than the group name. Convinced by argument and patch by: sheldonh (with slight changes by me)
* Syntax for user/group is changed from "user.group" to "user:group" to beobrien1999-06-282-5/+13
| | | | 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-224-72/+284
| | | | | | | | 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.
* The largest PID is now 99999peter1998-12-231-2/+2
| | | | Reported by: Ben Stuyts <ben@stuyts.nl>
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-3/+1
|
OpenPOWER on IntegriCloud