k.ta-sdk-core.0.6.1.source-code.log4j2.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ta-sdk-core Show documentation
Show all versions of ta-sdk-core Show documentation
a tool to help a developer to create and build a middleware data collection plug-in, \
which can be used to gather the information of an application deployed on a middleware server,\
and provide modernization help and recommendations
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="WARN"> <Properties> <!--if no env:TA_LOG_LEVEL, use this--> <Property name="TA_SDK_LOG_LEVEL">debug</Property> </Properties> <Appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /> <!--PatternLayout pattern="[%highlight{%-5level}] %d{DEFAULT} %c{1}.%M() - %msg%n%throwable{short.lineNumber}" /--> </Console> <RollingFile name="RollingFile" fileName="logs/ta_sdk.log" filePattern="logs/ta_sdk_%i.log"> <!--PatternLayout pattern="[%highlight{%-5level}] %d{DEFAULT} %c{1}.%M() - %msg%n%throwable{short.lineNumber}" /--> <PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/> <Policies> <OnStartupTriggeringPolicy /> <SizeBasedTriggeringPolicy size="10 MB" /> </Policies> </RollingFile> </Appenders> <Loggers> <Logger name="com.ibm.ta-sdk" additivity="true"> <appender-ref ref="RollingFile" /> </Logger> <Root level="${env:TA_SDK_LOG_LEVEL}"> <AppenderRef ref="RollingFile" /> </Root> </Loggers> </Configuration>