Can log files be renamed with httpd is running?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux