| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
PR: 46395
Submitted by: maxim
MFC: eventually
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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
|
|
|
|
|
|
| |
commit.
Big pointy hat to: sobomax
|
|
|
|
|
|
| |
Sponsored by: Porta Software Ltd
Approved by: re
MFC after: 2 weeks
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
PR: bin/44066
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 week
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
Spotted by: Grigoriy Strokin <grg@isabase.philol.msu.ru>
Reviewed by: -current
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
newsyslog.conf syntax.
PR: bin/36641
|
|
|
|
|
| |
Approved by: silence on -audit
MFC after: 1 month
|
| |
|
| |
|
|
|
|
| |
change.
|
|
|
|
| |
Submmited by: garrett
|
| |
|
| |
|
|
|
|
| |
(this included removing the funny "if (unsigned_var < 0)" test)
|
|
|
|
|
| |
PR: 27901
Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me)
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
| |
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Check return values of malloc() and strdup()
- Replace strcpy()/strcat()/sprintf() usage with strlcpy()/snprintf
Reviewed by: -audit
|
| |
|
|
|
|
| |
log file it was.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
| |
|
| |
|
|
|
|
| |
Clean up wording a little (like I have any idea what real English looks like...)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
consistant with chown(8).
|
| |
|
| |
|
|
|
|
|
| |
PR: docs/9602
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Reported by: Ben Stuyts <ben@stuyts.nl>
|
| |
|