Skip to content

Commit

Permalink
Relates #5 logue fonctionnent avec les spécifications demandé. Tous é…
Browse files Browse the repository at this point in the history
…crire dans un fichier .log
  • Loading branch information
rascho1 committed Mar 17, 2019
1 parent fbfa895 commit d0525c3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
<File name="fatal" filename="logs/fatal.log">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</File>
<Console name="console" target="SYSTEM_OUT">
<LevelRangeFilter minLevel="INFO" maxLevel="INFO" onMatch="ACCEPT" onMismatch="DENY"/>
<File name="console" filename="logi/info.log">
<PatternLayout
pattern="%highlight{%d{HH:mm:ss} [%t] %-5level %c - %msg%n}" disableAnsi="false"/>
</Console>
pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</File>
</Appenders>
<Loggers>
<Root level="trace">
Expand Down

0 comments on commit d0525c3

Please sign in to comment.