關閉Apache other-vhosts-access-log 日誌

Apache 日誌目錄一直會打印 other_vhosts_access.log,如果httpd.conf的虛擬配置沒有access日誌,會自動輸出到other_vhosts_access.log,可以關閉


註釋掉 /etc/apache2/conf-enabled/other-vhosts-access-log.conf 的

#CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined

即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章