summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Add optional config file field: signal number to send (defaulted to HUP)ache1998-06-092-10/+43
| | | | F.e. apache restarts less agressively on USR1 then on HUP
* 1) kill -HUP syslog, even if compressing supposedly "binary" fileshoek1998-05-101-12/+16
| | | | | | | | | PR: docs/6385 2) -n (noaction) does not imply -r (run as non-root), since as of Rev. 1.12 (ache), -r changes actual behaviour. 3) missing \n from if(noaction) messages.
* Arg! Someone fixed the synopsis in -stable's newsyslog.8, but nothoek1998-05-102-4/+4
| | | | | in -current. However, they fixed both the ordering and the missing -F flag. Merge from 22 and fix ordering here, too.
* Fix the usage here, too (-F option).hoek1998-05-101-3/+3
| | | | Typo fix in comment ("Force the tim now matter what" s/tim/trim/)
* 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-142-4/+14
| | | | Submitted by: Terry Lambert <terry@freebsd.org>
* Sleep 10secs after kill -HUP instead of 3secs, some daemons like Apacheache1997-11-301-2/+2
| | | | may have log time to re-configure
* Cosmetic in err() strings.charnier1997-10-062-51/+46
|
OpenPOWER on IntegriCloud