You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1997/09/14 19:12:46 UTC

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

Discuss.

I'm not really sure that it is worthwhile.  Things like "-k shutdown" and
a lot more are implemented using apachectl.  The idea of having Apache
create the filename based on the date is one thing, but I'm not sure there
is any real need for rotating the logs.  Would be an interesting idea for
apachectl, but not easy to implement because we have no idea what the
logfiles are.

---------- Forwarded message ----------
Date: Sun, 14 Sep 1997 09:10:01 -0700 (PDT)
From: Chihjen Chang <ch...@robin.iis.sinica.edu.tw>
To: apache-bugdb@apache.org
Cc: apache-bugdb@apache.org
Subject: 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:



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

Posted by Dean Gaudet <dg...@arctic.org>.
ObDeanDoesn'tWantApacheToRotateButRatherWantsALogChildToRotate.

Dean

On Sun, 14 Sep 1997, Marc Slemko wrote:

> Discuss.
> 
> I'm not really sure that it is worthwhile.  Things like "-k shutdown" and
> a lot more are implemented using apachectl.  The idea of having Apache
> create the filename based on the date is one thing, but I'm not sure there
> is any real need for rotating the logs.  Would be an interesting idea for
> apachectl, but not easy to implement because we have no idea what the
> logfiles are.
> 
> ---------- Forwarded message ----------
> Date: Sun, 14 Sep 1997 09:10:01 -0700 (PDT)
> From: Chihjen Chang <ch...@robin.iis.sinica.edu.tw>
> To: apache-bugdb@apache.org
> Cc: apache-bugdb@apache.org
> Subject: 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:
> 
> 
>