All Downloads are FREE. Search and download functionalities are using the official Maven repository.

logger.log4j2_ts_clients.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<configuration status="off">
    <Properties>
        <Property name="LOG_HOME">${sys:metricspath}</Property>
        <Property name="LOG_NAME">${sys:metricsfilename}.log</Property>
    </Properties>
    <appenders>
        <RollingFile name="StatisticAppender" fileName="${LOG_HOME}/${LOG_NAME}" filePattern="${LOG_HOME}/${LOG_NAME}.%d{yyyy-MM-dd}" append="true">
            <PatternLayout pattern="%msg%n" />
            <Policies>
                <TimeBasedTriggeringPolicy modulate="true" interval="1" />
                <SizeBasedTriggeringPolicy size="1024 MB"/>
            </Policies>
            <DefaultRolloverStrategy max="10" />
        </RollingFile>
    </appenders>
    <loggers>
        <logger name="net.wicp.tams.common.metrics" level="INFO" additivity="false">
            <AppenderRef ref="StatisticAppender" />
        </logger>
    </loggers>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy