Basic mode and HPEL mode

Two modes of logging and tracing exist in the product, which are basic mode and High Performance Extensible Logging (HPEL) mode. Use this topic to understand the differences between these modes.

Note: 이 주제는 하나 이상의 애플리케이션 서버 로그 파일을 참조합니다. 권장되는 대안은 분배 및 IBM® i 시스템에서 SystemOut.log, SystemErr.log, trace.logactivity.log 파일을 사용하는 대신 HPEL(High Performance Extensible Logging) 로그를 사용하고 인프라를 추적하도록 서버를 구성하는 것입니다. 원시 z/OS® 로깅 기능과 연계하여 HPEL을 사용할 수도 있습니다. HPEL을 사용하는 경우 서버 프로파일 바이너리 디렉토리의 LogViewer 명령행 도구를 사용하여 모든 로그에 액세스하고 정보를 추적할 수 있습니다. HPEL 사용에 대한 자세한 정보는 HPEL을 사용한 애플리케이션 문제점 해결 정보를 참조하십시오.

Basic mode, the default mode, is the existing log and trace framework from prior releases of WebSphere® Application Server. Any existing scripts and tools you have that use logs and trace might need minor modifications to work with HPEL mode.

To take advantage of the new log and trace framework, HPEL mode must be enabled. Once HPEL mode is enabled the JVM logs (typically SystemOut.log and SystemErr.log), the trace log (typically trace.log), and the service log (typically activity.log) are no longer written to. Instead, log and trace content is written to a log data or trace data repository in a proprietary binary format and, if configured, to a text log file. Disabling the writing of the text log file results in the largest possible performance benefit of HPEL. A log viewing tool, LogViewer, is provided to allow for viewing, filtering, monitoring, and formatting the log and trace data in the repositories.

The following figure shows the files used by the basic mode and HPEL mode log and trace facilities. When enabled, the HPEL text log file stores content from Java™ trace (optional), Java logs, System.out, and System.err. You can disable the HPEL text log in cases where it is not needed as indicated by the dotted lines.
Figure 1. Log and trace filesBasic mode and HPEL mode event storage.
Table 1. Basic mode and HPEL mode files. This table shows where each of the application and application server log, trace, JVM log, and native JVM log content is routed and how to view that content.
Source Basic mode files HPEL mode files How to view the HPEL files
System.out SystemOut.log

trace.log (when trace enabled)

logdata/*.wbl

TextLog_<timestamp>.log (when text log enabled)

logdata - use LogViewer, with optional filtering, to render log data repository as readable text, then use any text editor

TextLog - any text editor

System.err SystemErr.log Same as System.out Same as System.out
java.util.logging (levels DETAIL and above) SystemOut.log

activity.log

trace.log (when trace enabled)

Same as System.out Same as System.out
java.util.logging (levels below DETAIL) trace.log tracedata/*.wbl

TextLog_<timestamp>.log (when text log enabled)

tracedata - use LogViewer, with optional filtering, to render trace data repository as readable text, then use any text editor

TextLog - any text editor

native cout native_stdout.log native_stdout.log Any text editor
native cerr native_stderr.log native_stderr.log Any text editor
The following table describes the MBean services:
Table 2. Basic mode and HPEL mode MBeans. This table shows the JMX MBeans that are associated with the basic mode and HPEL mode log and trace frameworks.
Basic mode MBeans HPEL mode MBeans HPEL MBean Descriptions
RasLoggingServiceMBean RasLoggingServiceMBean Provides JMX Notification
  HPELLogDataServiceMBean Configures the log repository such as location, retention policy, out of space behavior, buffering, and file switching
  HPELTraceDataServiceMBean Configures the trace repository such as location, retention policy, out of space behavior, buffering, and file switching
  HPELTextLogServiceMBean Configures the text log such as location, retention policy, out of space behavior, buffering, file switching, and SystemErr or SystemOut format
TraceServiceMBean HPELControlServiceMBean Configures trace specification levels, and provides access to log and trace repository content

주제 유형을 표시하는 아이콘 개념 주제



시간소인 아이콘 마지막 업데이트 날짜: July 9, 2016 6:06
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=ctrb_HPELCompat
파일 이름:ctrb_HPELCompat.html