History log of /freebsd/usr.sbin/newsyslog/newsyslog.c (Results 326 – 347 of 347)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/3.0.0, release/2.2.8
# ab65c1d9 23-Dec-1998 Peter Wemm <peter@FreeBSD.org>

The largest PID is now 99999
Reported by: Ben Stuyts <ben@stuyts.nl>


Revision tags: release/2.2.7
# dc55fe4c 09-Jun-1998 Andrey A. Chernov <ache@FreeBSD.org>

Add optional config file field: signal number to send (defaulted to HUP)
F.e. apache restarts less agressively on USR1 then on HUP


# b2805b78 10-May-1998 Tim Vanderhoek <hoek@FreeBSD.org>

1) kill -HUP syslog, even if compressing supposedly "binary" files
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.

1) kill -HUP syslog, even if compressing supposedly "binary" files
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.

show more ...


# 28a9b05b 10-May-1998 Tim Vanderhoek <hoek@FreeBSD.org>

Arg! Someone fixed the synopsis in -stable's newsyslog.8, but not
in -current. However, they fixed both the ordering and the missing -F
flag. Merge from 22 and fix ordering here, too.


# b813e9a5 10-May-1998 Tim Vanderhoek <hoek@FreeBSD.org>

Fix the usage here, too (-F option).

Typo fix in comment ("Force the tim now matter what" s/tim/trim/)


Revision tags: release/2.2.6
# 07d95a3e 14-Mar-1998 Paul Traina <pst@FreeBSD.org>

Add "-F" (force) flag to newsyslog.
Submitted by: Terry Lambert <terry@freebsd.org>


# 19df0544 30-Nov-1997 Andrey A. Chernov <ache@FreeBSD.org>

Sleep 10secs after kill -HUP instead of 3secs, some daemons like Apache
may have log time to re-configure


Revision tags: release/2.2.5_cvs
# b8981f44 06-Oct-1997 Philippe Charnier <charnier@FreeBSD.org>

Cosmetic in err() strings.


Revision tags: release/2.2.2_cvs
# ea3b3517 07-May-1997 Brian Somers <brian@FreeBSD.org>

Allow a '-' flag as a placeholder so that path_to_pid_file
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

Allow a '-' flag as a placeholder so that path_to_pid_file
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.

show more ...


# 805bd6d9 05-May-1997 Andrey A. Chernov <ache@FreeBSD.org>

Do not kill -HUP syslog if running in user mode (-r), it allows
private user logs rotation without error diagnostics


# 3d807d3b 04-May-1997 Andrey A. Chernov <ache@FreeBSD.org>

1) Add yet one optional field: pid file to send SIGHUP to if log rotated
(good thing for apache f.e.) This change is backward compatible with old
newsyslog.conf files.

2) Do not compress log if SIGH

1) Add yet one optional field: pid file to send SIGHUP to if log rotated
(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.

show more ...


# 6c3f552a 31-Mar-1997 Warner Losh <imp@FreeBSD.org>

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


Revision tags: release/2.1.5_cvs
# 2252262f 09-Sep-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

Doh! Actually read the patch I applied and see what it was *trying* to do,
then make it do that.
Error-of-my-ways-pointed-out-by: Bob Willcox <bob@luke.pmr.com>


# 8e1d470a 06-Sep-1996 Jordan K. Hubbard <jkh@FreeBSD.org>

PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero. Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Su

PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero. Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Submitted-By: Kenneth Stailey <kstailey@dol-esa.gov>

show more ...


# c8d7d3db 09-Jun-1996 Alexander Langer <alex@FreeBSD.org>

Added function prototypes and removed in-line prototypes of standard
functions such as malloc and time.


# d442994e 07-Jun-1996 Alexander Langer <alex@FreeBSD.org>

Fix uninitialized variable that caused a core dump if /etc/newsyslog.conf
was empty. Closes PR bin/1300.

Found by: Brian Tao <taob@io.org>


# 9bf204a7 16-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so

Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for
host and MAXPATHLEN for filenames.
4) call execl with correct parameters (compress -> gzip).

show more ...


# c6bf200d 09-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog


# abf212be 05-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

Obtained from: NetBSD
imported the newsyslog command from NetBSD - it make the "rotation" of
the logfiles much simpler (it is currently done by "hand" in the
/etc/[daily,weekly,monthly] scripts) - no

Obtained from: NetBSD
imported the newsyslog command from NetBSD - it make the "rotation" of
the logfiles much simpler (it is currently done by "hand" in the
/etc/[daily,weekly,monthly] scripts) - now it will be done by invoking
newsyslog every hour which is very customizable via a
/etc/newsyslog.conf file

show more ...


# 6e2776da 05-Jan-1996 Thomas Graichen <graichen@FreeBSD.org>

This commit was generated by cvs2svn to compensate for changes in r13244,
which included commits to RCS files with non-trunk default branches.


1...<<11121314