From apwww@hyperreal.org Sun Sep 14 09:03:01 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id JAA20808; Sun, 14 Sep 1997 09:03:01 -0700 (PDT) Message-Id: <199709141603.JAA20808@hyperreal.org> Date: Sun, 14 Sep 1997 09:03:01 -0700 (PDT) From: Chihjen Chang Reply-To: chihjen@robin.iis.sinica.edu.tw To: apbugs@hyperreal.org Subject: Please add Squid-like log-rotate, shutdown, reconfigure command line syntax. X-Send-Pr-Version: 3.2 >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 >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Sun Sep 14 09:10:01 1997 >Originator: chihjen@robin.iis.sinica.edu.tw >Organization: >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: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Sun Sep 14 11:49:33 PDT 1997 State-Changed-Why: Please read the documentation file htdocs/manual/stopping.html, it describes how to stop and restart apache. Dean From: Dean Gaudet To: apbugs@apache.org Subject: Re: general/1132: Please add Squid-like log-rotate, shutdown, reconfigure command line syntax. (fwd) Date: Sun, 14 Sep 1997 20:55:06 -0700 (PDT) ---------- Forwarded message ---------- Date: Mon, 15 Sep 1997 10:51:37 +0800 (CST) From: Chih-Jen Chang To: dgaudet@hyperreal.org Subject: Re: general/1132: Please add Squid-like log-rotate, shutdown, reconfigure command line syntax. Hi, > Synopsis: Please add Squid-like log-rotate, shutdown, reconfigure command line syntax. > > State-Changed-From-To: open-closed > State-Changed-By: dgaudet > State-Changed-When: Sun Sep 14 11:49:33 PDT 1997 > State-Changed-Why: > Please read the documentation file htdocs/manual/stopping.html, > it describes how to stop and restart apache. I DID read that pages and operate httpd in this way in my daily life. kill -TERM or -HUP are good ways, too. I just think it would be wonderful if Apache also have those squid-like friendly syntax. And log rotation is useful. Only the httpd process know when it should rotate the log. Use kill -USR1 and delay a period of time to rotate log is inconvenient. I know Apache group are busy and want to say "Thank you" to all of you. Sincerely yours, Eric Chang >Unformatted: >Last-Modified: Sun Sep 14 11:49:34 PDT 1997