Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WARNS= -> WARNS?= | ru | 2001-09-21 | 1 | -1/+1 |
| | |||||
* | jhb says a 10 line change containing casts is more invasive than a 28 line | obrien | 2001-07-31 | 1 | -14/+14 |
| | | | | change. | ||||
* | Use the POSIX syntax for chown. | obrien | 2001-07-30 | 1 | -1/+1 |
| | | | | Submmited by: garrett | ||||
* | Simplify (and hopefully clarify) some date-parsing arithmetic. | wollman | 2001-07-30 | 1 | -1/+1 |
| | |||||
* | style(9) | obrien | 2001-07-30 | 1 | -29/+59 |
| | |||||
* | WARNS-2'ify. | obrien | 2001-07-30 | 2 | -12/+14 |
| | | | | (this included removing the funny "if (unsigned_var < 0)" test) | ||||
* | Add the ability to Bzip2 your logs. | obrien | 2001-07-30 | 3 | -7/+63 |
| | | | | | PR: 27901 Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me) | ||||
* | Perform a major cleanup of the usr.sbin Makefiles. | obrien | 2001-07-20 | 1 | -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. | wollman | 2001-07-19 | 1 | -1/+8 |
| | |||||
* | Instead of giving an example of rotating logs at the end of the month, | dd | 2001-07-19 | 1 | -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. | dd | 2001-07-15 | 1 | -17/+17 |
| | |||||
* | Fix the type of the NULL arg to execl() | brian | 2001-07-09 | 1 | -1/+1 |
| | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> | ||||
* | Fix a grammar bogon. | dd | 2001-04-02 | 1 | -1/+1 |
| | |||||
* | - Backout botched attempt to introduce MANSECT feature. | ru | 2001-03-26 | 1 | -0/+2 |
| | | | | - MAN[1-9] -> MAN. | ||||
* | Set the default manual section for usr.sbin/ to 8. | ru | 2001-03-20 | 1 | -2/+0 |
| | |||||
* | mdoc(7) police: split punctuation characters + misc fixes. | ru | 2001-02-01 | 1 | -20/+6 |
| | |||||
* | - Correct MAXPATHLEN/MAXHOSTNAMELEN usage | jedgar | 2001-01-20 | 1 | -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. | ru | 2000-11-20 | 1 | -3/+3 |
| | |||||
* | When warning that a log file can't be compressed, tell the reader which | joe | 2000-08-15 | 1 | -1/+1 |
| | | | | log file it was. | ||||
* | Allow user to specify which logs to rotate | des | 2000-05-11 | 2 | -10/+25 |
| | |||||
* | - implement logfile archivation to a separate, user | hm | 2000-04-04 | 2 | -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. | hm | 2000-04-04 | 1 | -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 quality | sheldonh | 2000-03-01 | 1 | -1/+2 |
| | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. | ||||
* | .Nm corrections | charnier | 1999-11-27 | 1 | -5/+8 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 4 | -4/+4 |
| | |||||
* | Correctly refer to the companion program rather than as "chown". | obrien | 1999-07-28 | 1 | -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 backward | obrien | 1999-07-28 | 1 | -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 be | obrien | 1999-06-28 | 2 | -5/+13 |
| | | | | consistant with chown(8). | ||||
* | Fix description of size, it's in kilobytes, not bytes. | chuckr | 1999-04-10 | 1 | -2/+3 |
| | |||||
* | jkoshy forgot up update the heading date on the man page. | wollman | 1999-01-28 | 1 | -2/+2 |
| | |||||
* | Note that the 'owner.group' field is optional in the config file. | jkoshy | 1999-01-27 | 1 | -3/+3 |
| | | | | | PR: docs/9602 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org> | ||||
* | A slight bit of code and doco cleanup, but mostly: | wollman | 1999-01-22 | 4 | -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 99999 | peter | 1998-12-23 | 1 | -2/+2 |
| | | | | Reported by: Ben Stuyts <ben@stuyts.nl> | ||||
* | Remove useless `BINOWN=root' now that it is the default. | obrien | 1998-09-19 | 1 | -3/+1 |
| | |||||
* | Add optional config file field: signal number to send (defaulted to HUP) | ache | 1998-06-09 | 2 | -10/+43 |
| | | | | F.e. apache restarts less agressively on USR1 then on HUP | ||||
* | 1) kill -HUP syslog, even if compressing supposedly "binary" files | hoek | 1998-05-10 | 1 | -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 not | hoek | 1998-05-10 | 2 | -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). | hoek | 1998-05-10 | 1 | -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 of | hoek | 1998-05-10 | 1 | -3/+2 |
| | | | | | its sentence. 2) Fix usage (-F option). | ||||
* | .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. | charnier | 1998-03-23 | 1 | -2/+2 |
| | |||||
* | Add "-F" (force) flag to newsyslog. | pst | 1998-03-14 | 2 | -4/+14 |
| | | | | Submitted by: Terry Lambert <terry@freebsd.org> | ||||
* | Sleep 10secs after kill -HUP instead of 3secs, some daemons like Apache | ache | 1997-11-30 | 1 | -2/+2 |
| | | | | may have log time to re-configure | ||||
* | Cosmetic in err() strings. | charnier | 1997-10-06 | 2 | -51/+46 |
| | |||||
* | Show the real revision date and not the date that this | steve | 1997-06-23 | 1 | -2/+2 |
| | | | | manpage is being viewed. | ||||
* | Allow a '-' flag as a placeholder so that path_to_pid_file | brian | 1997-05-06 | 2 | -14/+47 |
| | | | | | | 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. | ||||
* | Do not kill -HUP syslog if running in user mode (-r), it allows | ache | 1997-05-05 | 1 | -4/+4 |
| | | | | private user logs rotation without error diagnostics | ||||
* | 1) Add yet one optional field: pid file to send SIGHUP to if log rotated | ache | 1997-05-04 | 2 | -39/+103 |
| | | | | | | | | | | | (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. | ||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-31 | 1 | -3/+3 |
| | | | | posix standard on the topic. | ||||
* | Add a missing period so that the -n option is display properly | mpp | 1997-02-28 | 1 | -2/+2 |
| | | | | | | in the man page output. Closes PR# 2831. Submitted by: Marc Slemko <marcs@znep.com> | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 3 | -3/+3 |
| |