我有一个 weblogic 服务器(10.3.5)。我已经配置了一个新的logger/log_handler,没问题。
我现在想在这个 log_handler 上更改日志的写入方式。目前,它是这样写的:
[2013-07-29T09:41:16.653+00:00] [MS_server1] [NOTIFICATION] [] [myCustomLogger] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: Anonymous] [ecid: 3928459900541890,0:1:1:1] [APP: myfrontend-1] [URI: /FO/app/pages/feedback] My loggued message.
我需要删除 weblogic 自动添加到 finally 的所有部分:
My loggued message.
我的logging.xml
包含:
<log_handler name='myCustomLLog-handler' class='oracle.core.ojdl.logging.ODLHandlerFactory' filter='oracle.dfw.incident.IncidentDetectionLogFilter'>
<property name='path' value='${domain.home}/servers/${weblogic.Name}/logs/${weblogic.Name}-myCustomLog.log'/>
<property name='maxFileSize' value='10485760'/>
<property name='maxLogSize' value='104857600'/>
<property name='encoding' value='UTF-8'/>
<property name='useThreadName' value='true'/>
<property name='supplementalAttributes' value='J2EE_APP.name,J2EE_MODULE.name,WEBSERVICE.name,WEBSERVICE_PORT.name,composite_instance_id,component_instance_id,composite_name,component_name'/>
</log_handler>
我怎样才能做到这一点 ?
谢谢 !