-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relates #4 logue fonctionnent avec les spécifications demandé. Consol…
…e à partire du niveau Warn
- Loading branch information
rascho1
committed
Mar 17, 2019
1 parent
d0525c3
commit 5450065
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration status="INFO"> | ||
<Appenders> | ||
<File name="warning" filename="log/warning.log"> | ||
<Console name="warne" target="SYSTEM_OUT"> | ||
<LevelRangeFilter minLevel="WARN" maxLevel="WARN" onMatch="ACCEPT" onMismatch="DENY"/> | ||
<PatternLayout pattern="%highlight{%d{HH:mm:ss} [%t] %-5level %c - %msg%n}" disableAnsi="false"/> | ||
</Console> | ||
<Console name="fatal" target="SYSTEM_OUT"> | ||
<LevelRangeFilter minLevel="FATAL" maxLevel="FATAL" onMatch="ACCEPT" onMismatch="DENY"/> | ||
<PatternLayout pattern="%highlight{%d{HH:mm:ss} [%t] %-5level %c - %msg%n}" disableAnsi="false"/> | ||
</Console> | ||
<File name="info" filename="logi/info"> | ||
<LevelRangeFilter minLevel="INFO" maxLevel="INFO" onMatch="ACCEPT" onMismatch="DENY"/> | ||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/> | ||
</File> | ||
<File name="fatal" filename="logs/fatal.log"> | ||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/> | ||
</File> | ||
<File name="console" filename="logi/info.log"> | ||
<PatternLayout | ||
pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/> | ||
</File> | ||
</Appenders> | ||
<Loggers> | ||
<Root level="trace"> | ||
<AppenderRef ref="console"/> | ||
<AppenderRef ref="warning"/> | ||
<AppenderRef ref="warne"/> | ||
<AppenderRef ref="fatal"/> | ||
|
||
</Root> | ||
</Loggers> | ||
</Configuration> |