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

hedulerx.schedulerx2-worker.1.12.1.source-code.logback-schedulerx.xml Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<configuration  debug="false">
		<property name="LOG_FORMAT" value="%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n" />
		<property name="LOG_FORMAT_CLIENT_INFO" value="%d{yyyy-MM-dd HH:mm:ss}|%msg%n" />
		<property name="LOG_HOME" value="${user.home}/logs/schedulerx" />

	<appender name="RollingFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${LOG_HOME}/worker.log</file>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<fileNamePattern>${LOG_HOME}/worker.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
			<maxHistory>10</maxHistory>
            <totalSizeCap>2GB</totalSizeCap>
			<timeBasedFileNamingAndTriggeringPolicy
					class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
				<maxFileSize>250MB</maxFileSize>
			</timeBasedFileNamingAndTriggeringPolicy>
		</rollingPolicy>
        <encoder  class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <pattern>${LOG_FORMAT}</pattern>
        </encoder>
	</appender>
    <appender name="heartbeat" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${LOG_HOME}/heartbeat.log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_HOME}/heartbeat.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
            <maxHistory>10</maxHistory>
            <totalSizeCap>2GB</totalSizeCap>
            <timeBasedFileNamingAndTriggeringPolicy
                    class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
                <maxFileSize>250MB</maxFileSize>
            </timeBasedFileNamingAndTriggeringPolicy>
        </rollingPolicy>
        <encoder  class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <pattern>${LOG_FORMAT}</pattern>
        </encoder>
    </appender>
    <appender name="clientInfo" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${LOG_HOME}/clientInfo.log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_HOME}/clientInfo.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
            <maxHistory>10</maxHistory>
            <totalSizeCap>2GB</totalSizeCap>
            <timeBasedFileNamingAndTriggeringPolicy
                    class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
                <maxFileSize>250MB</maxFileSize>
            </timeBasedFileNamingAndTriggeringPolicy>
        </rollingPolicy>
        <encoder  class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <pattern>${LOG_FORMAT}</pattern>
        </encoder>
    </appender>
    <appender name="timer" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${LOG_HOME}/timer.log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_HOME}/timer.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
            <maxHistory>10</maxHistory>
            <totalSizeCap>2GB</totalSizeCap>
            <timeBasedFileNamingAndTriggeringPolicy
                    class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
                <maxFileSize>250MB</maxFileSize>
            </timeBasedFileNamingAndTriggeringPolicy>
        </rollingPolicy>
        <encoder  class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <pattern>${LOG_FORMAT}</pattern>
        </encoder>
    </appender>
    <appender name="openapi" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${LOG_HOME}/openapi.log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <fileNamePattern>${LOG_HOME}/openapi.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
            <maxHistory>10</maxHistory>
            <totalSizeCap>2GB</totalSizeCap>
            <timeBasedFileNamingAndTriggeringPolicy
                    class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
                <maxFileSize>250MB</maxFileSize>
            </timeBasedFileNamingAndTriggeringPolicy>
        </rollingPolicy>
        <encoder  class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
            <pattern>${LOG_FORMAT}</pattern>
        </encoder>
    </appender>

	<logger name="heartbeat" level="INFO" additivity="false">
		<appender-ref ref="heartbeat"/>
	</logger>
	<logger name="clientInfo" level="INFO" additivity="false">
		<appender-ref ref="clientInfo"/>
	</logger>
	<logger name="openapi" level="INFO" additivity="false">
		<appender-ref ref="openapi"/>
	</logger>
	<logger name="timer" level="INFO" additivity="false">
		<appender-ref ref="timer"/>
	</logger>

	<root level="INFO">
		<appender-ref ref="RollingFile"/>
	</root>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy