아파치 서버 (centos)에서...error log 위치를 변경하려는데~~

아파치 서버 (centos)에서...error log 위치를 변경하려는데~~

QA

아파치 서버 (centos)에서...error log 위치를 변경하려는데~~

답변 3

본문


#

# ErrorLog: The location of the error log file.

# If you do not specify an ErrorLog directive within a <VirtualHost>

# container, error messages relating to that virtual host will be

# logged here.  If you *do* define an error logfile for a <VirtualHost>

# container, that host's errors will be logged there and not here.

#

ErrorLog logs/error_log




ErrorLog logs  기본값인데..
에러로그 생성이  /var/log/httpd 아래 생성됩니다. 

이 부분을 다른 위치로 변경하려면 어떻게 해야할까요?

이 질문에 댓글 쓰기 :

답변 3

#

# ErrorLog: The location of the error log file.

# If you do not specify an ErrorLog directive within a <VirtualHost>

# container, error messages relating to that virtual host will be

# logged here.  If you *do* define an error logfile for a <VirtualHost>

# container, that host's errors will be logged there and not here.

#

ErrorLog logs/error_log


http://static.se2.naver.com/static/img/bg_quote2.gif) 0 3px no-repeat;color:#888888;">

VirtualHost 안에 ErrorLog 지시자를 지정하지 않을 경우

컨테이너는 이곳 (ErrorLog logs/error_log) 에 로깅함

이라고 설명하고 있습니다.


우선 주석 내용처럼 VirtualHost 에 따로 지정을 해서 그런것은 아닌지 확인해 보세요.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 534
© SIRSOFT
현재 페이지 제일 처음으로