| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
may have log time to re-configure
|
| |
|
|
|
|
| |
manpage is being viewed.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
private user logs rotation without error diagnostics
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
|
| |
in the man page output. Closes PR# 2831.
Submitted by: Marc Slemko <marcs@znep.com>
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
then make it do that.
Error-of-my-ways-pointed-out-by: Bob Willcox <bob@luke.pmr.com>
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
functions such as malloc and time.
|
|
|
|
|
|
| |
was empty. Closes PR bin/1300.
Found by: Brian Tao <taob@io.org>
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
removed date formatting glitch in newsyslog
|
|
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
|