<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="debugAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sysdebug.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sysdebug.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<!-- the workflow log -->
<appender name="taskFlowDebug_gbhbeu_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/gbhbeu/taskflow.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="taskFlowDebug_twhsbc_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/twhsbc/taskflow.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="taskFlowDebug_cahbus_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cahbus/taskflow.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="taskFlowDebug_hkhbap_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hkhbap/taskflow.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="taskFlowDebug_sghsbc_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sghsbc/taskflow.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="taskFlowDebug_aebbme_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/aebbme/taskflow.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="debug_gbhbeu_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/gbhbeu/sysdebug.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/gbhbeu/sysdebug.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="debug_twhsbc_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/twhsbc/sysdebug.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/twhsbc/sysdebug.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="debug_cahbus_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cahbus/sysdebug.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cahbus/sysdebug.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="debug_sghsbc_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sghsbc/sysdebug.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sghsbc/sysdebug.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="debug_hkhbap_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hkhbap/sysdebug.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hkhbap/sysdebug.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="clicklog_twhsbc_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/twhsbc/click_log.csv" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%m%n" />
</layout>
</appender>
<appender name="clicklog_cahbus_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cahbus/click_log.csv" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%m%n" />
</layout>
</appender>
<appender name="clicklog_sghsbc_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sghsbc/click_log.csv" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%m%n" />
</layout>
</appender>
<appender name="clicklog_aebbme_Appender" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true" />
<param name="MaxFileSize" value="10MB" />
<param name="MaxBackupIndex" value="10" />
<param name="File" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/aebbme/click_log.csv" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%m%n" />
</layout>
</appender>
<appender name="dbAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/db.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/db.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="patrolAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/patrol.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/patrol.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="errorAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/syserror.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/syserror.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="error_gbhbeu_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/gbhbeu/syserror.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/gbhbeu/syserror.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="error_twhsbc_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/twhsbc/syserror.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/twhsbc/syserror.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="error_cahbus_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cahbus/syserror.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cahbus/syserror.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="error_sghsbc_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sghsbc/syserror.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sghsbc/syserror.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="error_hkhbap_Appender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hkhbap/syserror.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hkhbap/syserror.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="inmsgAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/inmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/inmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="outmsgAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/outmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/outmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="idsMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/idsmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/idsmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="trisMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/trismsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/trismsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="rbpMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/rbpmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/rbpmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="hubMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hubmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hubmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="wcsMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/wcsmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/wcsmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="cdmMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cdmmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/cdmmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="hlsMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hlsmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/hlsmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="sfpMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sfpmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sfpmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="pmMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/pmmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/pmmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="bookCostMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/bookcostmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/bookcostmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="wpcMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/wpcmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/wpcmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="ohcMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/ohcmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/ohcmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="biMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/bimsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/bimsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="mdsMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/mdsmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/mdsmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="awlMessageAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/awlmsg.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/awlmsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="requestScopeAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/reqscopemsg.log"/>
<param name="maxIndex" value="1"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/reqscopemsg.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="performanceMonitorAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sysperfmon.log"/>
<param name="maxIndex" value="1"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sysperfmon.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<appender name="performanceStatisticAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sysperfstat.log"/>
<param name="maxIndex" value="1"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/sysperfstat.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<!-- Performance Test Appender -->
<appender name="responseTimeAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/perfresptm.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/perfresptm.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p,[Thread-%t],%d{yyyy-MM-dd HH:mm:ss.SSS},%c{1},%X{trackingNumber}%m%n" />
</layout>
</appender>
<appender name="haResponseTimeAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/perfharesptm.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/perfharesptm.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p,[Thread-%t],%d{yyyy-MM-dd HH:mm:ss.SSS},%c{1},%X{trackingNumber}%m%n" />
</layout>
</appender>
<appender name="serviceInvokerAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/perfsvcinvkr.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/perfsvcinvkr.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p,[Thread-%t],%d{yyyy-MM-dd HH:mm:ss.SSS},%c{1},%X{trackingNumber}%m%n" />
</layout>
</appender>
<!-- Performance Test Appender -->
<appender name="consoleAppender" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="DEBUG" />
<param name="LevelMax" value="FATAL" />
</filter>
</appender>
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="DEBUG" />
<param name="LevelMax" value="FATAL" />
</filter>
</appender>
<!-- Health check appender -->
<appender name="healthCheckAppender" class="org.apache.log4j.rolling.RollingFileAppender">
<param name="Append" value="true" />
<rollingPolicy class="org.apache.log4j.rolling.FixedWindowRollingPolicy">
<param name="activeFileName" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/healthcheck.log"/>
<param name="maxIndex" value="10"/>
<param name="FileNamePattern" value="/appvol/WAS85/hkgv3ls0503_wdsapp01/applog/healthcheck.log.%i.gz" />
</rollingPolicy>
<triggeringPolicy class="org.apache.log4j.rolling.SizeBasedTriggeringPolicy">
<param name="maxFileSize" value="20480000"/>
</triggeringPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [Thread-%t] %d %c{1} | %X{trackingNumber}%m %n" />
</layout>
</appender>
<logger name="DEBUGGER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.scwd.healthcheck" additivity="false">
<level value="DEBUG" />
<appender-ref ref="healthCheckAppender" />
</logger>
<logger name="ERROR_RECORDER.com.hsbc.scwd.healthcheck" additivity="false">
<level value="ERROR" />
<appender-ref ref="healthCheckAppender" />
</logger>
<logger name="DEBUGGER.GBHBEU" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debug_gbhbeu_Appender" />
</logger>
<logger name="DEBUGGER.TWHSBC" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debug_twhsbc_Appender" />
</logger>
<logger name="DEBUGGER.CAHBUS" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debug_cahbus_Appender" />
</logger>
<logger name="DEBUGGER.SGHSBC" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debug_sghsbc_Appender" />
</logger>
<logger name="DEBUGGER.HKHBAP" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debug_hkhbap_Appender" />
</logger>
<logger name="WORKCONTROLLER.GBHBEU" additivity="false">
<level value="DEBUG" />
<appender-ref ref="taskFlowDebug_gbhbeu_Appender" />
</logger>
<logger name="WORKCONTROLLER.TWHSBC" additivity="false">
<level value="DEBUG" />
<appender-ref ref="taskFlowDebug_twhsbc_Appender" />
</logger>
<logger name="WORKCONTROLLER.CAHBUS" additivity="false">
<level value="DEBUG" />
<appender-ref ref="taskFlowDebug_cahbus_Appender" />
</logger>
<logger name="WORKCONTROLLER.HKHBAP" additivity="false">
<level value="DEBUG" />
<appender-ref ref="taskFlowDebug_hkhbap_Appender" />
</logger>
<logger name="WORKCONTROLLER.SGHSBC" additivity="false">
<level value="DEBUG" />
<appender-ref ref="taskFlowDebug_sghsbc_Appender" />
</logger>
<logger name="WORKCONTROLLER.AEBBME" additivity="false">
<level value="DEBUG" />
<appender-ref ref="taskFlowDebug_aebbme_Appender" />
</logger>
<logger name="DB" additivity="false">
<level value="DEBUG" />
<appender-ref ref="dbAppender" />
</logger>
<logger name="PATROL" additivity="false">
<level value="DEBUG" />
<appender-ref ref="patrolAppender" />
</logger>
<logger name="ERROR_RECORDER" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="ERROR_RECORDER.GBHBEU" additivity="false">
<level value="ERROR" />
<appender-ref ref="error_gbhbeu_Appender" />
</logger>
<logger name="ERROR_RECORDER.TWHSBC" additivity="false">
<level value="ERROR" />
<appender-ref ref="error_twhsbc_Appender" />
</logger>
<logger name="ERROR_RECORDER.CAHBUS" additivity="false">
<level value="ERROR" />
<appender-ref ref="error_cahbus_Appender" />
</logger>
<logger name="ERROR_RECORDER.SGHSBC" additivity="false">
<level value="ERROR" />
<appender-ref ref="error_sghsbc_Appender" />
</logger>
<logger name="ERROR_RECORDER.HKHBAP" additivity="false">
<level value="ERROR" />
<appender-ref ref="error_hkhbap_Appender" />
</logger>
<logger name="INCOMING_MESSAGE" additivity="false">
<level value="DEBUG" />
<appender-ref ref="inmsgAppender" />
</logger>
<logger name="OUTGOING_MESSAGE" additivity="false">
<level value="DEBUG" />
<appender-ref ref="outmsgAppender" />
</logger>
<!-- For IDS Message -->
<logger name="IDS_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="idsMessageAppender" />
</logger>
<!-- For TRIS Message -->
<logger name="TRIS_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="trisMessageAppender" />
</logger>
<!-- For RBP Message -->
<logger name="RBP_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="rbpMessageAppender" />
</logger>
<!-- For HUB Message -->
<logger name="HUB_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="hubMessageAppender" />
</logger>
<!-- For WCS Message -->
<logger name="WCS_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="wcsMessageAppender" />
</logger>
<!-- For CDM Message -->
<logger name="CDM_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="cdmMessageAppender" />
</logger>
<!-- For HLS Message -->
<logger name="HLS_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="hlsMessageAppender" />
</logger>
<!-- For SFP Message -->
<logger name="SFP_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="sfpMessageAppender" />
</logger>
<!-- For PM Message -->
<logger name="PM_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="pmMessageAppender" />
</logger>
<!-- For Book Cost Edit Message -->
<logger name="HOLDING_BOOK_COST_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="bookCostMessageAppender" />
</logger>
<!-- For WPC Message -->
<logger name="WPC_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="wpcMessageAppender" />
</logger>
<!-- For OHC Message -->
<logger name="OHC_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="ohcMessageAppender" />
</logger>
<!-- For BI Message -->
<logger name="BI_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="biMessageAppender" />
</logger>
<!-- For MDS Message -->
<logger name="MDS_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="mdsMessageAppender" />
</logger>
<!-- For AWL Message -->
<logger name="AWL_MESSAGE_RECORDER" additivity="false">
<level value="DEBUG" />
<appender-ref ref="awlMessageAppender" />
</logger>
<logger name="org.springframework" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="org.exolab.castor" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="org.castor" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="commonj.work" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="org.apache.commons.httpclient" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="net.sf.ehcache" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="org.apache.cxf.common.logging" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="org.springframework.scheduling" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.content" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.esf" additivity="false">
<level value="ERROR" />
<appender-ref ref="errorAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.scwd.common" additivity="false">
<level value="WARN" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.scwd.common.scope.ThreadScope" additivity="false">
<level value="OFF" />
<appender-ref ref="requestScopeAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.scwd.common.scope.SessionContextParamListGenerator" additivity="false">
<level value="OFF" />
<appender-ref ref="requestScopeAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.scwd.common.entity.SupportedEntityListFactoryBean" additivity="false">
<level value="DEBUG" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.wcs.cacheservice.converter" additivity="false">
<level value="OFF" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.wcs.cacheservice.dao" additivity="false">
<level value="OFF" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="org.springframework.jdbc" additivity="false">
<level value="ERROR" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="DEBUGGER.com.hsbc.group" additivity="false">
<level value="ERROR" />
<appender-ref ref="debugAppender" />
</logger>
<logger name="com.hsbc.scwd.common.aop.interceptor.PerformanceMonitorInterceptor" additivity="false">
<level value="TRACE" />
<appender-ref ref="performanceMonitorAppender" />
</logger>
<logger name="org.springframework.aop.interceptor.JamonPerformanceMonitorInterceptor" additivity="false">
<level value="TRACE" />
<appender-ref ref="performanceStatisticAppender" />
</logger>
<!-- Performance Test Logger -->
<logger name="PERFORMANCE.com.hsbc.scwd.scwdservicechannel.interceptor.ResponseTimeInterceptor" additivity="false">
<level value="INFO" />
<appender-ref ref="responseTimeAppender" />
</logger>
<logger name="PERFORMANCE.com.hsbc.scwd.common.facade.AbstractServiceInvoker" additivity="false">
<level value="INFO" />
<appender-ref ref="serviceInvokerAppender" />
</logger>
<logger name="com.hsbc.scwd.common.aop.interceptor.HaPerformanceMonitorInterceptor" additivity="false">
<level value="TRACE" />
<appender-ref ref="haResponseTimeAppender" />
</logger>
<!-- Performance Test Logger -->
<logger name="CLICK_RECORDER.TWHSBC" additivity="false">
<level value="DEBUG" />
<appender-ref ref="clicklog_twhsbc_Appender" />
</logger>
<logger name="CLICK_RECORDER.CAHBUS" additivity="false">
<level value="DEBUG" />
<appender-ref ref="clicklog_cahbus_Appender" />
</logger>
<logger name="CLICK_RECORDER.SGHSBC" additivity="false">
<level value="DEBUG" />
<appender-ref ref="clicklog_sghsbc_Appender" />
</logger>
<logger name="CLICK_RECORDER.AEBBME" additivity="false">
<level value="DEBUG" />
<appender-ref ref="clicklog_aebbme_Appender" />
</logger>
<logger name="CONSOLE" additivity="false">
<level value="DEBUG" />
<appender-ref ref="consoleAppender" />
</logger>
<root>
<level value="WARN" />
<appender-ref ref="debugAppender" />
</root>
</log4j:configuration>
----------------------------------------------MDC log4J------------------------------------------------
public class LoggingMDCFilter implements Filter {
@Override
public void destroy() {
}
@Override
public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain) throws IOException,
ServletException {
try {
LoggingMDC.put(LoggingMDC.TRACKING_NUMBER,
new StringBuilder().append("[").append(UniqueKeyUtil.getUniqueKey()).append("]").toString());
chain.doFilter(request, response);
} finally {
LoggingMDC.clear();
}
}
@Override
public void init(final FilterConfig arg0) throws ServletException {
}
}
--------------------------------------
public class LoggingMDC {
/** The Constant TRACKING_NUMBER. */
public static final String TRACKING_NUMBER = "trackingNumber";
/** The mdc adapter. */
private static final MDCAdapter mdcAdapter = new Log4jMDCAdapter();
/**
* Put.
*
* @param key
* the key
* @param val
* the obj
*/
public static void put(final String key, final String val) {
if (key == null) {
throw new IllegalArgumentException("key parameter cannot be null");
}
mdcAdapter.put(key, val);
}
/**
* Gets the.
*
* @param key
* the key
* @return the val
*/
public static String get(final String key) {
if (key == null) {
throw new IllegalArgumentException("key parameter cannot be null");
}
return mdcAdapter.get(key);
}
/**
* Removes the.
*
* @param key
* the key
*/
public static void remove(final String key) {
if (key == null) {
throw new IllegalArgumentException("key parameter cannot be null");
}
mdcAdapter.remove(key);
}
/**
* Clear.
*/
public static void clear() {
mdcAdapter.clear();
}
/**
* Gets the copy of context map.
*
* @return the copy of context map
*/
public static Map<String, String> getCopyOfContextMap() {
return mdcAdapter.getCopyOfContextMap();
}
/**
* Sets the context map.
*
* @param contextMap
* the new context map
*/
public static void setContextMap(final Map<String, String> contextMap) {
if (contextMap != null && !contextMap.isEmpty()) {
mdcAdapter.setContextMap(contextMap);
}
}
}
----------------------------------------------------------------------------------
public class Log4jMDCAdapter implements MDCAdapter {
/*
* (non-Javadoc)
*
* @see com.hsbc.scwd.common.logging.MDCAdapter#put(java.lang.String, java.lang.String)
*/
@Override
public void put(final String key, final String val) {
org.apache.log4j.MDC.put(key, val);
}
/*
* (non-Javadoc)
*
* @see com.hsbc.scwd.common.logging.MDCAdapter#get(java.lang.String)
*/
@Override
public String get(final String key) {
return (String) org.apache.log4j.MDC.get(key);
}
/*
* (non-Javadoc)
*
* @see com.hsbc.scwd.common.logging.MDCAdapter#remove(java.lang.String)
*/
@Override
public void remove(final String key) {
org.apache.log4j.MDC.remove(key);
}
/*
* (non-Javadoc)
*
* @see com.hsbc.scwd.common.logging.MDCAdapter#clear()
*/
@Override
public void clear() {
Map<?, ?> map = org.apache.log4j.MDC.getContext();
if (map != null) {
map.clear();
}
}
/*
* (non-Javadoc)
*
* @see com.hsbc.scwd.common.logging.MDCAdapter#getCopyOfContextMap()
*/
@Override
public Map<String, String> getCopyOfContextMap() {
@SuppressWarnings("unchecked")
Map<String, String> old = org.apache.log4j.MDC.getContext();
if (old != null) {
return new HashMap<String, String>(old);
} else {
return null;
}
}
/*
* (non-Javadoc)
*
* @see com.hsbc.scwd.common.logging.MDCAdapter#setContextMap(java.util.Map)
*/
@Override
public void setContextMap(final Map<String, String> contextMap) {
@SuppressWarnings("unchecked")
Map<String, String> old = org.apache.log4j.MDC.getContext();
if (old == null) {
Iterator<Map.Entry<String, String>> entrySetIterator = contextMap.entrySet().iterator();
while (entrySetIterator.hasNext()) {
Map.Entry<String, String> mapEntry = entrySetIterator.next();
org.apache.log4j.MDC.put(mapEntry.getKey(), mapEntry.getValue());
}
} else {
old.clear();
old.putAll(contextMap);
}
}
}