Skip to content

Commit

Permalink
Fix for #541 - update logback-spring.xml to use org/springframework/b…
Browse files Browse the repository at this point in the history
…oot/logging/logback/defaults.xml rather than org/springframework/boot/logging/logback/base.xml in order to not create the /tmp/spring.log file
  • Loading branch information
julesjacobsen committed Feb 27, 2024
1 parent dd60ad2 commit 14091ac
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 9 deletions.
8 changes: 7 additions & 1 deletion exomiser-cli/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
-->

<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<include resource="org/springframework/boot/logging/logback/file-appender.xml" />
<root level="INFO">
<appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" />
</root>
<logger name="com.zaxxer.hikari" level="ERROR"/>
</configuration>
9 changes: 7 additions & 2 deletions exomiser-data-genome/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
-->

<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<include resource="org/springframework/boot/logging/logback/file-appender.xml" />
<root level="INFO">
<appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" />
</root>
<logger name="com.zaxxer.hikari" level="ERROR"/>
<logger name="de.charite.compbio.jannovar.impl.parse.ensembl.EnsemblParser" level="ERROR"/>
</configuration>
11 changes: 9 additions & 2 deletions exomiser-data-phenotype/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--
~ The Exomiser - A tool to annotate and prioritize genomic variants
~
~ Copyright (c) 2016-2017 Queen Mary University of London.
~ Copyright (c) 2016-2020 Queen Mary University of London.
~ Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd.
~
~ This program is free software: you can redistribute it and/or modify
Expand All @@ -20,5 +20,12 @@
-->

<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<include resource="org/springframework/boot/logging/logback/file-appender.xml" />
<root level="INFO">
<appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" />
</root>
<logger name="com.zaxxer.hikari" level="ERROR"/>
</configuration>
11 changes: 9 additions & 2 deletions exomiser-rest-prioritiser/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--
~ The Exomiser - A tool to annotate and prioritize genomic variants
~
~ Copyright (c) 2016-2017 Queen Mary University of London.
~ Copyright (c) 2016-2020 Queen Mary University of London.
~ Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd.
~
~ This program is free software: you can redistribute it and/or modify
Expand All @@ -20,5 +20,12 @@
-->

<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<include resource="org/springframework/boot/logging/logback/file-appender.xml" />
<root level="INFO">
<appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" />
</root>
<logger name="com.zaxxer.hikari" level="ERROR"/>
</configuration>
11 changes: 9 additions & 2 deletions exomiser-web/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--
~ The Exomiser - A tool to annotate and prioritize genomic variants
~
~ Copyright (c) 2016-2017 Queen Mary University of London.
~ Copyright (c) 2016-2020 Queen Mary University of London.
~ Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd.
~
~ This program is free software: you can redistribute it and/or modify
Expand All @@ -20,5 +20,12 @@
-->

<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml"/>
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<include resource="org/springframework/boot/logging/logback/file-appender.xml" />
<root level="INFO">
<appender-ref ref="CONSOLE" />
<appender-ref ref="FILE" />
</root>
<logger name="com.zaxxer.hikari" level="ERROR"/>
</configuration>

0 comments on commit 14091ac

Please sign in to comment.