mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-04 15:31:53 +03:00
[ANY] Formating xml
This commit is contained in:
parent
7bfa4ebdab
commit
86d1bfdde2
1 changed files with 18 additions and 22 deletions
|
@ -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>
|
Loading…
Reference in a new issue