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://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"
설정 후 서버 재기동


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



'WAS > JBOSS_WILDFLY' 카테고리의 다른 글
| [ERROR] ISPN000136 / WFLYCLWEBINF0004 / ISPN000299 15초 간격으로 반복되는 infinispan error (0) | 2025.12.26 |
|---|---|
| 28. 핸들러(handler) (0) | 2025.12.15 |
| 26. jboss-cli.sh connection (0) | 2025.11.03 |
| 25. jboss-deployment-structure.xml (0) | 2025.10.21 |
| 24. instance id 설정하기 (0) | 2025.09.15 |