-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logback stop working #756
Comments
Not enough detail here.
Did you upgrade to slf4j 2.0.9 and are you using jakarta namespace?. In no on either those are potentially the issues.
Logback 1.3.14 is for javax depending if you use the EE extras.
Logback 1.4.14 for jakarta, same reasons
Both require slf4j 2.0.9.
Used latest versions here for reference.
Also check your dependency tree. The series cannot be mixed.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: IndianBartonka ***@***.***>
Sent: Wednesday, December 27, 2023 5:09:13 PM
To: qos-ch/logback ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [qos-ch/logback] Logback stop working (Issue #756)
Hi , someone know why my logback settings stopped working after that, I didn't even change them
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.14</version>
<scope>compile</scope>
src\main\resources\logback.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %blue(LogBack) %magenta(Logger) [%thread] %highlight(%-5level){TRACE=blue, DEBUG=green, INFO=white, WARN=yellow, ERROR=red} %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<!-- Intergacja z discord za pomocą JDA-->
<!-- <logger name="net.dv8tion.jda" level="OFF"/>-->
<logger name="net.dv8tion.jda" level="ERROR,WARN"/>
<!-- Strona -->
<logger name="org.eclipse.jetty" level="ERROR,WARN"/>
<logger name="io.javalin" level="ERROR,WARN"/>
<root level="INFO">
<appender-ref ref="STDOUT"/>
</root>
</configuration>
—
Reply to this email directly, view it on GitHub<#756>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAHODI5HEKBBF5A3MJKOANDYLSMATAVCNFSM6AAAAABBEZRCA6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TOOBQHAYDKNY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
i dont understand , but when i swith logback to <dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.8</version>
<scope>compile</scope>
</dependency> it working again |
Yes because you are using slf4j 1.7.36 or lower. Please read what I wrote again. Slf4j and logback versions must match. Slf4j 1.7.x is for logback 1.2.x. mixing wrong version will never work.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: IndianBartonka ***@***.***>
Sent: Wednesday, December 27, 2023 8:23:54 PM
To: qos-ch/logback ***@***.***>
Cc: Jeremy Landis ***@***.***>; Comment ***@***.***>
Subject: Re: [qos-ch/logback] Logback stop working (Issue #756)
Not enough detail here. Did you upgrade to slf4j 2.0.9 and are you using jakarta namespace?. In no on either those are potentially the issues. Logback 1.3.14 is for javax depending if you use the EE extras. Logback 1.4.14 for jakarta, same reasons Both require slf4j 2.0.9. Used latest versions here for reference. Also check your dependency tree. The series cannot be mixed. Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg
…
________________________________ From: IndianBartonka @.> Sent: Wednesday, December 27, 2023 5:09:13 PM To: qos-ch/logback @.> Cc: Subscribed @.> Subject: [qos-ch/logback] Logback stop working (Issue #756<#756>) Hi , someone know why my logback settings stopped working after that, I didn't even change them ch.qos.logback logback-classic 1.4.14 compile src\main\resources\logback.xml %d{yyyy-MM-dd HH:mm:ss.SSS} %blue(LogBack) %magenta(Logger) [%thread] %highlight(%-5level){TRACE=blue, DEBUG=green, INFO=white, WARN=yellow, ERROR=red} %logger{36} - %msg%n — Reply to this email directly, view it on GitHub<#756<#756>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHODI5HEKBBF5A3MJKOANDYLSMATAVCNFSM6AAAAABBEZRCA6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TOOBQHAYDKNY. You are receiving this because you are subscribed to this thread.Message ID: @.>
i dont understand , but when i swith logback to
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.8</version>
<scope>compile</scope>
</dependency>
```
it working again
—
Reply to this email directly, view it on GitHub<#756 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAHODIZC7PP342E2HF6NJKLYLTC2VAVCNFSM6AAAAABBEZRCA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQG4ZTGNZUGY>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi , someone know why my logback settings stopped working , I didn't even change them
src\main\resources\logback.xml
The text was updated successfully, but these errors were encountered: