
RHEL 7의 var/log/httpd/access_log에서 특정 디렉터리로 Apache 로그를 리디렉션해야 하는 상황이 있습니다.
답변1
파일 수정/etc/http.conf
# vi /etc/http.conf
/var/log/httpd/access_log
설치와 함께 제공되는 기본 로그 디렉터리인 가 표시되는 경로를 지정합니다 .
RHEL 7의 var/log/httpd/access_log에서 특정 디렉터리로 Apache 로그를 리디렉션해야 하는 상황이 있습니다.
파일 수정/etc/http.conf
# vi /etc/http.conf
/var/log/httpd/access_log
설치와 함께 제공되는 기본 로그 디렉터리인 가 표시되는 경로를 지정합니다 .