[ANY] Formating xml

This commit is contained in:
microwin7 2022-04-02 21:37:21 +03:00
parent 7bfa4ebdab
commit 86d1bfdde2

View file

@ -2,45 +2,41 @@
<Configuration status="INFO" packages="pro.gravit.launchserver.config.log4j">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout
pattern="%d{HH:mm:ss.SSS} %highlight{[%-5level]}{FATAL=red, ERROR=red, WARN=yellow, INFO=default, DEBUG=green, TRACE=blue} %highlight{%msg}{FATAL=red, ERROR=red, WARN=yellow, INFO=default, DEBUG=green, TRACE=blue}%n"/>
<PatternLayout pattern="%d{HH:mm:ss.SSS} %highlight{[%-5level]}{FATAL=red, ERROR=red, WARN=yellow, INFO=default, DEBUG=green, TRACE=blue} %highlight{%msg}{FATAL=red, ERROR=red, WARN=yellow, INFO=default, DEBUG=green, TRACE=blue}%n" />
<Filters>
<MarkerFilter marker="JANSI" onMatch="ACCEPT" onMismatch="NEUTRAL"/>
<MarkerFilter marker="NOJANSI" onMatch="DENY" onMismatch="NEUTRAL"/>
<MarkerFilter marker="JANSI" onMatch="ACCEPT" onMismatch="NEUTRAL" />
<MarkerFilter marker="NOJANSI" onMatch="DENY" onMismatch="NEUTRAL" />
</Filters>
</Console>
<RollingFile name="MainFile" fileName="logs/latest.log"
filePattern="logs/%d{yyyy-MM-dd}.log.gz">
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<RollingFile name="MainFile" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}.log.gz">
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
<Policies>
<TimeBasedTriggeringPolicy/>
<TimeBasedTriggeringPolicy />
</Policies>
<Filters>
<MarkerFilter marker="JANSI" onMatch="DENY" onMismatch="NEUTRAL"/>
<MarkerFilter marker="JANSI" onMatch="DENY" onMismatch="NEUTRAL" />
</Filters>
</RollingFile>
<File name="DebugFile" fileName="logs/debug.log" immediateFlush="false" append="false">
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
<Filters>
<MarkerFilter marker="JANSI" onMatch="DENY" onMismatch="NEUTRAL"/>
<MarkerFilter marker="JANSI" onMatch="DENY" onMismatch="NEUTRAL" />
</Filters>
</File>
<LogCollect name="logCollector">
</LogCollect>
<LogCollect name="logCollector"></LogCollect>
</Appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="Console" level="info"/>
<AppenderRef ref="MainFile" level="info"/>
<AppenderRef ref="logCollector" level="info"/>
<AppenderRef ref="DebugFile" level="debug"/>
<AppenderRef ref="Console" level="info" />
<AppenderRef ref="MainFile" level="info" />
<AppenderRef ref="logCollector" level="info" />
<AppenderRef ref="DebugFile" level="debug" />
</Root>
<Logger name="pro.gravit" level="debug" additivity="false">
<AppenderRef ref="Console"/>
<AppenderRef ref="MainFile"/>
<AppenderRef ref="logCollector"/>
<AppenderRef ref="DebugFile"/>
<AppenderRef ref="Console" />
<AppenderRef ref="MainFile" />
<AppenderRef ref="logCollector" />
<AppenderRef ref="DebugFile" />
</Logger>
</Loggers>
</Configuration>