Closed IndianBartonka closed 8 months ago
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)
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"?>
— Reply to this email directly, view it on GitHubhttps://github.com/qos-ch/logback/issues/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
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 Androidhttps://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 #756https://github.com/qos-ch/logback/issues/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<#756https://github.com/qos-ch/logback/issues/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 GitHubhttps://github.com/qos-ch/logback/issues/756#issuecomment-1870733746, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHODIZC7PP342E2HF6NJKLYLTC2VAVCNFSM6AAAAABBEZRCA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQG4ZTGNZUGY. You are receiving this because you commented.Message ID: @.***>
Hi , someone know why my logback settings stopped working , I didn't even change them
src\main\resources\logback.xml