You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michael Lu <ML...@7thonline.com> on 2005/08/18 17:53:46 UTC

[users@httpd] Help!!! Problem with cronolog 1.6.1 and apache 2.0.47 on windows 2000

Hi,

We use cronolog to rotate the apache logs.  It causes some problems so I
wondering if anybody know the issues and how to solve them.

1. There are 12 cronolog processes running all the time in the background.
We only rotate 6 apache logs.  And I thought cronolog will only be invoked
when there is a log request.

2. The file handles for logs from previous days are not released.  So we
cannot delete the old logs.

3. Our apache just crashed last night and there is an error dialog says "The
application failed to initialize properly(0xc000042). Click ok to terminate
the application".

The following are lines in httpd.conf for log rotation.

#for access and error logs
CustomLog "|D:/apache/Apache/bin/cronolog.exe
logs/access/access.%Y-%m-%d.log" combined
ErrorLog "|d:/apache/apache/bin/cronolog.exe
d:/apache/apache/logs/ssl/engine/engine.%Y-%m-%d.log"

#for ssl logs
ErrorLog "|d:/apache/apache/bin/cronolog.exe
d:/apache/apache/logs/ssl/error/error.%Y-%m-%d.log"
TransferLog "|d:/apache/apache/bin/cronolog.exe
d:/apache/apache/logs/ssl/access/access.%Y-%m-%d.log"
CustomLog "|d:/apache/apache/bin/cronolog.exe
d:/apache/apache/logs/ssl/ssl_request/ssl_request.%Y-%m-%d.log" \
          "%{[%Y-%m-%d %H:%M:%S]}t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\"
%b"

#for mod_jk log
JkLogFile "|d:/apache/apache/bin/cronolog.exe
d:/apache/apache/logs/mod_jk/mod_jk.%Y.%m.%d.log"

Thanks,
Michael

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org