cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cronolog and restarting Apache web server serious error



Configuration:
- cronolog version 1.6.1
- Apache web server 1.3.12
- JServ engine 1.1
- Platform: Solaris 7 on a Sun UltraSPARC 60
I installed cronolog and added the foll. line to the httpd.conf file:
CustomLog "|/<absolute path to cronolog>/cronolog /<absolute path to Apache's 
log directory>/logs/%Y/%b/ access_log"
Apache 1.2.12 did not come with a TransferLog directive.
After restarting Apache, the access log was written to the newly created 
directory.  However, when I restarted Apache this morning, I got the foll.
error message in the error_log file (which does not use cronolog) and the
access log stopped to be appended to the log file that cronolog had created.
Here is the output from the error log file.  Stopping and starting Apache
did not solve the problem:
[Wed Aug  9 10:36:41 2000] [warn] long lost child came home! (pid 14037)
   usage: /<path to cronolog>/cronolog [OPTIONS] logfile-spec
        -H NAME, --hardlink=NAME maintain a hard link from NAME to current log
0     -S NAME, --symlink=NAME  maintain a symbolic link from NAME to current log
        -l NAME, --link=NAME     same as -S/--symlink
        -h,      --help          print this help, then exit
        -o,      --once-only     create single output log from template (not 
rotated)
       -x FILE, --debug=FILE    write debug messages to FILE
                                 ( or to standard error if FILE is "-")
        -a,    --american         American date formats
        -e,    --european         European date formats (default)
        -s,    --start-time=TIME  starting time
        -z TZ, --time-zone=TZ     use TZ for timezone
        -V,      --version       print version number, then exit
     usage: /<path to cronolog>/cronolog [OPTIONS] logfile-spec
-- end of error message excerpt
This message repeated itself many times.  It seems as though upon restarting
Apache and executing the CustomLog directive in the httpd.conf file, there
is a problem.
Can anyone tell me what is wrong here ?
Thank you,
Annette 
Annette Strupp-Adams
Senior Systems Analyst
astrupp@xxxxxxxxxxx
National Library of Medicine

Copyright © 1996-2010 Andrew Ford and Ford & Mason Ltd