Skip to content

Commit

Permalink
Logback info level logging by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed Aug 27, 2024
1 parent aed18c1 commit 16faf97
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
1 change: 0 additions & 1 deletion convex-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<url>https://convex.world</url>

<properties>
<logback.version>1.5.6</logback.version>
<picocli.version>4.7.6</picocli.version>
<asciidoctorj.pdf.version>2.3.7</asciidoctorj.pdf.version>
<asciidoctor.spring.version>0.6.0</asciidoctor.spring.version>
Expand Down
16 changes: 11 additions & 5 deletions convex-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@
<artifactId>convex-gui</artifactId>
<version>${convex.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>

<!-- TEST DEPENDENCIES -->
<dependency>
Expand All @@ -97,10 +107,6 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>

</dependencies>
</project>
11 changes: 11 additions & 0 deletions convex-integration/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>

<root level="info">
<appender-ref ref="STDOUT" />
</root>
</configuration>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<logback.version>1.5.6</logback.version>
<jmh.version>1.37</jmh.version>
<junit.version>5.10.2</junit.version>
<slf4j.version>2.0.13</slf4j.version>
Expand Down

0 comments on commit 16faf97

Please sign in to comment.