mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-22 19:08:00 +01:00
Bump logback to 1.5.13
I hope I mitigated logback spam by modifying the logback.xml file and by setting 'slf4j.internal.verbosity' to 'WARN'. See https://github.com/pgpainless/pgpainless/issues/426 for reference
This commit is contained in:
parent
3e96af5450
commit
a43ae43722
3 changed files with 6 additions and 19 deletions
|
@ -14,6 +14,10 @@ import sop.cli.picocli.SopCLI;
|
|||
public class PGPainlessCLI {
|
||||
|
||||
static {
|
||||
// Prevent slf4j initialization logging
|
||||
// https://github.com/qos-ch/slf4j/issues/422#issuecomment-2277280185
|
||||
System.setProperty("slf4j.internal.verbosity", "WARN");
|
||||
|
||||
SopCLI.EXECUTABLE_NAME = "pgpainless-cli";
|
||||
SopCLI.setSopInstance(new SOPImpl());
|
||||
}
|
||||
|
|
|
@ -5,22 +5,5 @@ SPDX-License-Identifier: Apache-2.0
|
|||
-->
|
||||
|
||||
<configuration debug="false">
|
||||
<appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<target>System.err</target>
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<target>System.out</target>
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="error">
|
||||
<appender-ref ref="STDERR" />
|
||||
</root>
|
||||
|
||||
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />
|
||||
</configuration>
|
|
@ -11,7 +11,7 @@ allprojects {
|
|||
bouncyCastleVersion = '1.78.1'
|
||||
bouncyPgVersion = bouncyCastleVersion
|
||||
junitVersion = '5.8.2'
|
||||
logbackVersion = '1.2.13' // 1.4+ cause CLI spam :/
|
||||
logbackVersion = '1.5.13'
|
||||
mockitoVersion = '4.5.1'
|
||||
slf4jVersion = '1.7.36'
|
||||
sopJavaVersion = '10.0.3'
|
||||
|
|
Loading…
Reference in a new issue