Re: access_log

robm@ncsa.uiuc.edu (Rob McCool)
Message-id: <9402030502.AA18851@void.ncsa.uiuc.edu>
From: robm@ncsa.uiuc.edu (Rob McCool)
Date: Wed, 2 Feb 1994 23:02:54 -0600
In-Reply-To: "Roy T. Fielding" <fielding@simplon.ICS.UCI.EDU>
       "Re: access_log" (Feb  2,  6:41pm)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: "Roy T. Fielding" <fielding@simplon.ICS.UCI.EDU>,
        Omy Ronquillo <omy@san-jose.ate.slb.com>
Subject: Re: access_log
Cc: www-talk@www0.cern.ch
Content-Length: 576
/*
 * Re: access_log  by "Roy T. Fielding"
 *    written on Feb  2,  6:41pm.
 *
 * > Can I as easily mv access_log from the logs directory in httpd
 * > and create a new one without having to re-fire up httpd? I want
 * > to archive the old access_log and create a new one.
 * 
 * Assuming you are talking about NCSA httpd, just move it out of
 * the directory (or rename the file).  The daemon will create a
 * new one when it gets the next request.
 * 
 */

Only if you're running from inetd. If you're going standalone, you have to
restart the server with a SIGHUP.

--Rob