You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Chihjen Chang <ch...@robin.iis.sinica.edu.tw> on 1997/09/14 18:10:01 UTC

general/1132: Please add Squid-like log-rotate, shutdown, reconfigure command line syntax.

>Number:         1132
>Category:       general
>Synopsis:       Please add Squid-like log-rotate, shutdown, reconfigure command line syntax.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Sun Sep 14 09:10:01 1997
>Originator:     chihjen@robin.iis.sinica.edu.tw
>Organization:
apache
>Release:        1.2.4
>Environment:
Solaris 2.5.1
gcc 2.7.2.2
>Description:
Squid (http://squid.nlanr.net/) is a very good proxy server.  In those
features of Squid, I think its "-k" parameter can be useful for Apache.
We can issue "squid -k reconfigure" to let squid re-read configuration
files.
"squid -k shutdown" to shutdown to squid process.
"squid -k rotate" to rename all current "*.log" to "*.log.1" and then
write the following messages to the newly created "*.log".
I think "-k rotate" is most useful to Apache since we can not delete Apache's
log files directly. 
Please consider the chance of adding these parameters to Apache httpd.
Thanks a lot! 
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted: