Skip to content

Commit

Permalink
CCD-4026 Switch BEFTA DEBUG Logging to INFO (#2164)
Browse files Browse the repository at this point in the history
* CCD-4026 Switch BEFTA DEBUG Logging to INFO

Introduced logback-test.xml to default all log levels to  INFO

* Amend logback files to set default logging levels

logback.xml and logback-test.xml

* Use logback file in module=aat only

Co-authored-by: mikebrownccd <[email protected]>
  • Loading branch information
marvincudjoe and mikebrownccd committed Dec 5, 2022
1 parent f806785 commit 141964b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/aat/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are by default assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
<encoder>
<pattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSS} %-5level [%thread] %logger{36} %msg%n</pattern>
</encoder>
</appender>

<logger name="org.apache" level="ERROR"/>
<logger name="httpclient" level="ERROR"/>

<logger name="uk.gov.hmcts" level="DEBUG"/>

<!-- LOG everything at INFO level -->
<root level="info">
<appender-ref ref="STDOUT"/>
</root>
</configuration>

0 comments on commit 141964b

Please sign in to comment.