From slf4j-dev at qos.ch Thu Jul 6 08:20:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Thu, 6 Jul 2023 08:20:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-579: Export slf4j packages in version 1 and 2 in OSGi-Manifests In-Reply-To: References: Message-ID: SLF4J / SLF4J-579 [Resolved] Export slf4j packages in version 1 and 2 in OSGi-Manifests ============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-579 ============================== 1 comment ------------------------------ Konrad Windszus on 06/Jul/23 8:09 At least [https://www.javadoc.io/doc/org.slf4j/slf4j-api/1.7.25/org/slf4j/helpers/MessageFormatter.html] is pretty common to be used also outside logging backends (compare with https://issues.apache.org/jira/browse/SLING-11906?focusedCommentId=17732425&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17732425). Also there is no indication on [https://www.javadoc.io/doc/org.slf4j/slf4j-api/1.7.25/org/slf4j/helpers/package-summary.html] that the package should only be used from logging implementations.... Was there a specific non-backwards compatible change in 2.x which prevents exporting that package still with version 1.x? ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Fri Jul 7 10:03:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Fri, 7 Jul 2023 10:03:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-579: Export slf4j packages in version 1 and 2 in OSGi-Manifests In-Reply-To: References: Message-ID: SLF4J / SLF4J-579 [Resolved] Export slf4j packages in version 1 and 2 in OSGi-Manifests ============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-579 ============================== 1 comment ------------------------------ Hannes Wellmann on 07/Jul/23 9:51 > Was there a specific non-backwards compatible change in 2.x which prevents exporting {{org.slf4j.helpers}} still with version 1.x? That would IMHO contradict I did a did of this package between the {{master}} and the {{1.7-maintenance}} branch and only found additions or internal changes, so it should be backwards compatible. But maybe I oversaw something. ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Fri Jul 7 10:43:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Fri, 7 Jul 2023 10:43:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-579: Export slf4j packages in version 1 and 2 in OSGi-Manifests In-Reply-To: References: Message-ID: SLF4J / SLF4J-579 [Resolved] Export slf4j packages in version 1 and 2 in OSGi-Manifests ============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-579 ============================== 1 comment ------------------------------ Ceki Gülcü on 07/Jul/23 10:31 [~kwin] Hello, I am assuming that in your application context, migration to SLF4J 2.0 in one go is not possible because some packages in your application context are outside of your control? Am I reading this correctly? I apologize for the naive question. ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Fri Jul 7 11:37:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Fri, 7 Jul 2023 11:37:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-579: Export slf4j packages in version 1 and 2 in OSGi-Manifests In-Reply-To: References: Message-ID: SLF4J / SLF4J-579 [Resolved] Export slf4j packages in version 1 and 2 in OSGi-Manifests ============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-579 ============================== 1 comment ------------------------------ Konrad Windszus on 07/Jul/23 11:25 I am talking about a library which is supposed to be compatible with both SLF4J v1 and v2. I think this is a pretty common scenario (at least in the future). ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Fri Jul 7 12:31:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Fri, 7 Jul 2023 12:31:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-579: Export slf4j packages in version 1 and 2 in OSGi-Manifests In-Reply-To: References: Message-ID: SLF4J / SLF4J-579 [Resolved] Export slf4j packages in version 1 and 2 in OSGi-Manifests ============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-579 ============================== 1 comment ------------------------------ Ceki Gülcü on 07/Jul/23 12:19 [~kwin] If I understand correctly, you care the author/maintainer of a library and you would like your library to be compatible with both SLF4J 1.x and 2.x. Is that correct? ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Fri Jul 7 12:59:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Fri, 7 Jul 2023 12:59:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-594: Migrator jar is not self-executing In-Reply-To: References: Message-ID: SLF4J / SLF4J-594 [Open] Migrator jar is not self-executing ============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-594 ============================== Issue created ------------------------------ Joni Lahtinen created this issue on 07/Jul/23 12:47 Summary: Migrator jar is not self-executing Issue Type: Bug Affects Versions: 2.0.0, 2.0.7 Assignee: SLF4J developers list Components: slf4j-migrator Created: 07/Jul/23 12:47 Environment: ❯ java --version openjdk 11.0.19 2023-04-18 LTS OpenJDK Runtime Environment (Red_Hat-11.0.19.0.7-2) (build 11.0.19+7-LTS) OpenJDK 64-Bit Server VM (Red_Hat-11.0.19.0.7-2) (build 11.0.19+7-LTS, mixed mode, sharing) Priority: Minor Reporter: Joni Lahtinen Severity: minor Description: ❯ wget [https://repo1.maven.org/maven2/org/slf4j/slf4j-migrator/2.0.7/slf4j-migrator-2.0.7.jar] ❯ java -jar slf4j-migrator-2.0.7.jar no main manifest attribute, in slf4j-migrator-2.0.7.jar ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Fri Jul 7 16:53:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Fri, 7 Jul 2023 16:53:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-579: Export slf4j packages in version 1 and 2 in OSGi-Manifests In-Reply-To: References: Message-ID: SLF4J / SLF4J-579 [Resolved] Export slf4j packages in version 1 and 2 in OSGi-Manifests ============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-579 ============================== 1 comment ------------------------------ Konrad Windszus on 07/Jul/23 16:41 Yes, you understood correctly. That library (https://github.com/apache/jackrabbit-oak) is supposed to be used in OSGi containers though, therefore the export-package headers in the manifest with their versions are crucial. ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Sat Jul 8 04:27:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Sat, 8 Jul 2023 04:27:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-595: Add module-info.java to jul-to-slf4j In-Reply-To: References: Message-ID: SLF4J / SLF4J-595 [Open] Add module-info.java to jul-to-slf4j ============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-595 ============================== Issue created ------------------------------ Gili created this issue on 08/Jul/23 4:15 Summary: Add module-info.java to jul-to-slf4j Issue Type: Improvement Affects Versions: 2.0.7 Assignee: SLF4J developers list Components: jul-to-slf4j Created: 08/Jul/23 4:15 Priority: Major Reporter: Gili Description: I am getting warnings when using jul-to-slf4j in the context of Java Modules because it is missing a module-info.java file. Can you please add support? I believe the following should do the trick:   module org.slf4j.bridge {   requires org.slf4j;   requires java.logging;   exports org.slf4j.bridge; } ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Tue Jul 11 11:20:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Tue, 11 Jul 2023 11:20:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-594: Migrator jar is not self-executing In-Reply-To: References: Message-ID: SLF4J / SLF4J-594 [In Progress] Migrator jar is not self-executing ============================== Here's what changed in this issue in the last few minutes. There is 1 comment. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-594 ============================== 1 comment ------------------------------ Ceki Gülcü on 11/Jul/23 11:08 [~joni.lahtinen] This is quite strange as when building a SNAPSHOT the results seem to be correct but not in 2.0.7 as published in Maven central. In the mean time, the Main-Class entry is now added by the jar plugin instead of felix. I'll continue to track this issue. ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Wed Jul 12 18:20:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Wed, 12 Jul 2023 18:20:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-596: New pom.xml (BOM) does not export parent-pom.xml as a module In-Reply-To: References: Message-ID: SLF4J / SLF4J-596 [Open] New pom.xml (BOM) does not export parent-pom.xml as a module ============================== Here's what changed in this issue in the last few minutes. This issue has been created This issue is now assigned to you. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-596 ============================== Issue created ------------------------------ Ceki Gülcü created this issue on 12/Jul/23 18:08 Summary: New pom.xml (BOM) does not export parent-pom.xml as a module Issue Type: Bug Assignee: SLF4J developers list Created: 12/Jul/23 18:08 Priority: Blocker Reporter: Ceki Gülcü ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Wed Jul 12 18:40:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Wed, 12 Jul 2023 18:40:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-595: Add module-info.java to jul-to-slf4j In-Reply-To: References: Message-ID: SLF4J / SLF4J-595 [Open] Add module-info.java to jul-to-slf4j ============================== Here's what changed in this issue in the last few minutes. There are 2 comments. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-595 ============================== 2 comments ------------------------------ Ceki Gülcü on 12/Jul/23 18:29 [~cowwoc] I am trying to reproduce the warning you mention and am failing to do do. Have you tried adding "{{requires jul.to.slf4j;}}" in your project's {{module-info.java}} file? ------------------------------ Ceki Gülcü on 12/Jul/23 18:34 [~cowwoc] If I omit declaring {{requires jul.to.slf4j}} in a test project xyz then I get the following {code} java: package org.slf4j.bridge is not visible (package org.slf4j.bridge is declared in the unnamed module, but module xyz does not read it) {code} ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Wed Jul 12 23:02:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Wed, 12 Jul 2023 23:02:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-595: Add module-info.java to jul-to-slf4j In-Reply-To: References: Message-ID: SLF4J / SLF4J-595 [Resolved] Add module-info.java to jul-to-slf4j ============================== Here's what changed in this issue in the last few minutes. There are 2 updates. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-595 ============================== 2 updates ------------------------------ Changes by Ceki Gülcü on 12/Jul/23 22:50 Resolution: Fixed Status: Resolved (was: Open) ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af) From slf4j-dev at qos.ch Wed Jul 12 23:02:00 2023 From: slf4j-dev at qos.ch (slf4j developers list) Date: Wed, 12 Jul 2023 23:02:00 +0200 (CEST) Subject: [slf4j-dev] [JIRA] Updates for SLF4J-596: New pom.xml (BOM) does not export parent-pom.xml as a module In-Reply-To: References: Message-ID: SLF4J / SLF4J-596 [Resolved] New pom.xml (BOM) does not export parent-pom.xml as a module ============================== Here's what changed in this issue in the last few minutes. There are 2 updates. View or comment on issue using this link https://jira.qos.ch/browse/SLF4J-596 ============================== 2 updates ------------------------------ Changes by Ceki Gülcü on 12/Jul/23 22:52 Resolution: Fixed Status: Resolved (was: In Progress) ============================== This message was sent by Atlassian Jira (v9.6.0#960000-sha1:a3ee8af)