Hi,

Linux 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:27 EDT 2005 i686 athlon
i386 GNU/Linux
Server version: Apache/2.0.52
Server built:   Aug 31 2005 10:47:52

Right now the access log is named like access_log.site1.some.edu.  I want
to change it to site1.some.edu.access_log.  Can I do the following?

1. in httpd.conf, change from

TransferLog logs/access_log.site1.some.edu

to

TransferLog logs/site1.some.edu.access_log

2. # cd /var/log/httpd
   # mv access_log.site1.some.edu site1.some.edu.access_log

3. # /sbin/services httpd reload

Would that make httpd recognize the access log file in the new name and
keep writing log there?

Thanks in advance,

Bing

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to