본문 바로가기
WAS/JBOSS_WILDFLY

27. Access log 설정

by coldplayer83 2025. 11. 24.
728x90
반응형

JBoss EAP 6)

https://access.redhat.com/solutions/185383

 

How to enable access logging for JBoss EAP 6? - Red Hat Customer Portal

Activate instant http request access logging to file for the web subsystem Access logs not generating. Convert this configuration from an earlier version Access log file shows false2015-11-11 Create access logs with different name format.

access.redhat.com

 

JBoss EAP 7)

https://access.redhat.com/solutions/2423311

 

How to enable access logging for JBoss EAP 7/8? - Red Hat Customer Portal

How to enable the access log in JBoss EAP7? How to enable friendly access log times in JBoss EAP7? How can I configure the access-log pattern in EAP7? Need to find the equivalent for org.apache.catalina.valves.AccessLogValve for Undertow in EAP 7 How to en

access.redhat.com

 

https://docs.redhat.com/ko/documentation/red_hat_jboss_enterprise_application_platform/7.4/html/configuration_guide/undertow-configure-server

 

https://atl.kr/dokuwiki/doku.php/jboss_eap_6.x_access_log_%EC%84%A4%EC%A0%95

 

jboss_eap_6.x_access_log_설정 [AllThatLinux!]

기본적으로 JBoss EAP 6.x는 Access log 를 남기지 않는데 Access log를 설정하는 방법은 2가지가 있다. JBoss EAP 엔진에서 설정하지 않고 서비스 컨텍스트별로 Access log를 남기는 방법이다. WEB-INF/jboss-web.xml

atl.kr

 


 

표준 엑세스 로깅과 콘솔 엑세스 로깅 설정이 있음

 

표준 엑세스 로깅 설정)

/subsystem=undertow/server=default-server/host=default-host/setting=access-log:add

 

설정 후 서버 재기동

 

combined 속성을 사용하도록 설정)

/subsystem=undertow/server=default-server/host=default-host/setting=access-log:write-attribute(name=pattern,value="combined"

 

설정 후 서버 재기동


 

 

설정 후 구성파일 내용이 아래와 같이 변경됨

728x90
반응형