1

Apacheaccess_logファイル名がサーバーのホスト名を使用する方法

ex)
[root@testserver ~]# hostname
testserver

vi httpd-vhosts.conf

CustomLog "|/usr/local/cronolog/sbin/cronolog --symlink=/home/apache_log/www/access_log /home/apache_log/www/$HOSTNAME_access_log.%Y%m%d"

testserver_access_log.20130809
4

0 に答える 0