![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[IBM i]](../images/iseries.gif)
Managing the application server trace service
You can manage the trace service for a server process while the server is stopped and while it is running. You can specify which components to trace, where to send trace output, the characteristics of the trace output device, and which format to generate trace output in.
About this task
Note: 이 주제는 하나 이상의 애플리케이션 서버 로그 파일을
참조합니다. 권장되는 대안은 분배 및 IBM® i 시스템에서 SystemOut.log, SystemErr.log, trace.log 및 activity.log 파일을 사용하는 대신
HPEL(High Performance Extensible Logging) 로그를 사용하고
인프라를 추적하도록 서버를 구성하는 것입니다. 원시 z/OS® 로깅 기능과 연계하여 HPEL을 사용할 수도 있습니다. HPEL을 사용하는 경우
서버 프로파일 바이너리 디렉토리의 LogViewer 명령행 도구를 사용하여
모든 로그에 액세스하고 정보를 추적할 수 있습니다. HPEL 사용에 대한 자세한 정보는
HPEL을 사용한 애플리케이션 문제점 해결 정보를
참조하십시오.
Procedure
- Start the administrative console.
- Click Troubleshooting > Logs and Trace > server_name.
- Click the Diagnostic Trace link.
On the Configuration tab, do not select the None option. If this option is selected, the trace data is not logged or recorded anywhere. All other handlers (including handlers registered by applications) still have an opportunity to process these traces.
On the Runtime tab, select either the Memory Buffer or File Trace Output option.
- Specify the appropriate values for your configuration for either the Memory Buffer or File Trace Output option.
- Click Apply.
- Click Troubleshooting > Logs and Trace > server_name.
- Click the Change Log Detail Levels link.
- Under Additional properties, click Change Log Detail Levels.
- On the Runtime tab, change the existing trace state by changing the trace specification to the desired state.
- Click Apply.