Revision tags: release/8.3.0_cvs, release/8.3.0 |
|
#
8833b15f |
| 03-Apr-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r232686 through r233825 into projects/pf/head.
|
#
7be124b0 |
| 21-Mar-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Don't run through time checks when entry is definitely oversized. This leads to newsyslog rotating on (size OR time) if both are specified.
PR: 100018, 160432
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
f7bcc1c4 |
| 05-Jan-2012 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Further fix a typo and spelling classic correctly in function names, too.
Submitted by: Ben Kaduk <minimarmot@gmail.com>
|
#
80dbff4e |
| 04-Jan-2012 |
Sean Bruno <sbruno@FreeBSD.org> |
IFC to head to catch up the bhyve branch
Approved by: grehan@
|
#
b3608ae1 |
| 03-Jan-2012 |
Ed Schouten <ed@FreeBSD.org> |
Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revisi
Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
show more ...
|
Revision tags: release/9.0.0 |
|
#
3df5ecac |
| 30-Dec-2011 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Spelling fixes for usr.sbin/
|
#
520374b5 |
| 21-Dec-2011 |
Eitan Adler <eadler@FreeBSD.org> |
- Remove extraneous null ptr deref checks - Fix memory leak
Submitted by: Slono Slono <slonoman2011@yandex.ru> Approved by: jhb MFC after: 1 week
|
#
c02f1527 |
| 14-May-2011 |
Attilio Rao <attilio@FreeBSD.org> |
MFC
|
#
ea640d77 |
| 14-May-2011 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Add new modifier - "R", when it is specified the path to pid file will be considered as a path to a binary or a shell script to be executed after rotation has been completed instead of sending signal
Add new modifier - "R", when it is specified the path to pid file will be considered as a path to a binary or a shell script to be executed after rotation has been completed instead of sending signal to the process id in that file.
Sponsored by: Sippy Software, Inc. From the: FreeBSD hacking lounge at BSDCan
show more ...
|
#
449590b1 |
| 21-Apr-2011 |
Simon L. B. Nielsen <simon@FreeBSD.org> |
Fix an old bug in newsyslog where we kept one log file more than was requested in newsyslog.conf. This was only the case using the non-time based filenames (.0, .1, .2 etc.).
The change also makes
Fix an old bug in newsyslog where we kept one log file more than was requested in newsyslog.conf. This was only the case using the non-time based filenames (.0, .1, .2 etc.).
The change also makes newsyslog clean clean up the old extra logfile so users don't end up with a single stale logfile which won't be rotated out.
This change also cleans up some code a bit to avoid more copy / paste code and removes some old copy / paste code in the process.
PR: bin/76697 MFC after: 2 weeks
show more ...
|
#
b17e9548 |
| 09-Mar-2011 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync manpage's SYNOPSIS with program's usage.
|
#
8c6269ba |
| 22-Feb-2011 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Make code more friendly to the non-C99 compilers - don't allocate local variables in the `for' loop declaration. This allows trunk newsyslog.c to be compiled on 7.x. This change should be no-op from
Make code more friendly to the non-C99 compilers - don't allocate local variables in the `for' loop declaration. This allows trunk newsyslog.c to be compiled on 7.x. This change should be no-op from the functional POV.
show more ...
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
#
d90914ca |
| 31-Jan-2011 |
Martin Matuska <mm@FreeBSD.org> |
Add xz(1) support to newsyslog. Rewrite and simplify logfile compression code.
Approved by: gad MFC after: 3 weeks
|
#
2921193e |
| 31-Dec-2010 |
Brian Somers <brian@FreeBSD.org> |
Make -S functional.
MFC after: 1 week
|
#
a35d3535 |
| 22-Nov-2010 |
Dimitry Andric <dim@FreeBSD.org> |
Sync: merge r215464 through r215708 from ^/head.
|
#
c86bcbb3 |
| 21-Nov-2010 |
Simon L. B. Nielsen <simon@FreeBSD.org> |
Fix a typo in a comment.
MFC after: 3 days
|
#
318a43da |
| 23-Jul-2010 |
Brian Somers <brian@FreeBSD.org> |
Add a -S switch to override the default syslog pid file. This can be useful if syslogd's -P switch or a syslogd alternative is being used.
MFC after: 3 weeks
|
#
872e964d |
| 22-Jul-2010 |
Simon L. B. Nielsen <simon@FreeBSD.org> |
Add support for creating the archived log filenames using a time-stamp instead of the traditional simple counter.
Using the time-stamp based file-names, once a log file is archived, it will not chan
Add support for creating the archived log filenames using a time-stamp instead of the traditional simple counter.
Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation.
This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles.
PR: bin/29363 MFC after: 3 weeks
show more ...
|
Revision tags: release/8.1.0_cvs, release/8.1.0 |
|
#
82c00be8 |
| 30-May-2010 |
Gordon Tetlow <gordon@FreeBSD.org> |
Add file include processing for newsyslog.
Format for the include line in /etc/newsyslog.conf is: <include> /etc/defaults/newsyslog.conf
Other notes of interest: Globbing is supported in <include>
Add file include processing for newsyslog.
Format for the include line in /etc/newsyslog.conf is: <include> /etc/defaults/newsyslog.conf
Other notes of interest: Globbing is supported in <include> statements. Properly detect circular include loop dependencies.
Reviewed by: gad@ Approved by: wes@ (mentor) MFC after: 2 months
show more ...
|
#
a40596d7 |
| 30-May-2010 |
Gordon Tetlow <gordon@FreeBSD.org> |
Convert newsyslog to using queue(3) macros instead of a home rolled version.
Reviewed by: gad@ Approved by: wes@ (mentor) MFC after: 2 months
|
Revision tags: release/7.3.0_cvs, release/7.3.0 |
|
#
1a0fda2b |
| 04-Mar-2010 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
IFH@204581
|
#
db265fb4 |
| 03-Feb-2010 |
Xin LI <delphij@FreeBSD.org> |
MFC r202668+r200806:
Don't consider non-existence of a PID file an error, we should be able to proceed anyway as this most likely mean that the process has been terminated. [1]
Add a new option, -P
MFC r202668+r200806:
Don't consider non-existence of a PID file an error, we should be able to proceed anyway as this most likely mean that the process has been terminated. [1]
Add a new option, -P, which reverts newsyslog(8) to the old behavior, which stops to proceed further, as it is possible that processes which fails to create PID file get screwed by rotation. [2]
PR: bin/140397 Submitted by: Dan Lukes [1] Requested by: stas [2]
show more ...
|
#
ccc28f77 |
| 20-Jan-2010 |
Xin LI <delphij@FreeBSD.org> |
Add a new option, -P, which reverts newsyslog(8) to the old behavior, which stops to proceed further, as it is possible that processes which fails to create PID file get screwed by rotation.
Request
Add a new option, -P, which reverts newsyslog(8) to the old behavior, 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
show more ...
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|