[ https://issues.apache.org/jira/browse/LOG4J2-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464870#comment-17464870 ]
Michael Vorburger commented on LOG4J2-3282: ------------------------------------------- Do committers have any guidance what Java package this new Log4j-to-JUL bridge should go into? {{org.apache.logging.tojul}} or {{org.apache.logging.log4j.tojul}} ? The latter is how the Log4j JDK Logging Adapter does it: * log4j-jul: {{package org.apache.logging.log4j.jul}} (see [https://github.com/apache/logging-log4j2/tree/master/log4j-jul/src/main/java/org/apache/logging/log4j/jul]) And this (latter, as above) is my personal preference (because after all this is code in the Log4j project and git repo), but I'm asking because the slf4j related stuff does not follow this convention, note the missing .log4j. in the package name: * log4j-slf4j-impl: {{package org.apache.logging.slf4j}} (see [https://github.com/apache/logging-log4j2/tree/master/log4j-slf4j-impl/src/main/java/org/apache/logging/slf4j]) * log4j-to-slf4j: {{package org.apache.logging.slf4j}} (see [https://github.com/apache/logging-log4j2/tree/master/log4j-to-slf4j/src/main/java/org/apache/logging/slf4j]) * log4j-slf4j18-impl: {{package org.apache.logging.slf4j}} (see [https://github.com/apache/logging-log4j2/tree/master/log4j-slf4j18-impl/src/main/java/org/apache/logging/slf4j]) If we go for the former, would you like a PR that's refactoring the slf4j packages (probably only for the main branch, not the maintenance-2.x?), or never mind - ignore? > log4j-to-jul JDK Logging Bridge > ------------------------------- > > Key: LOG4J2-3282 > URL: https://issues.apache.org/jira/browse/LOG4J2-3282 > Project: Log4j 2 > Issue Type: Improvement > Affects Versions: 2.17.0 > Reporter: Michael Vorburger > Priority: Major > Fix For: 2.17.1 > > > I (we, internal project at work) would like to have a {{{}log4j-to-jul{}}}. > So the "opposite" of [https://logging.apache.org/log4j/2.x/log4j-jul/] (from > [https://github.com/apache/logging-log4j2/tree/master/log4j-jul]). The use > case here is if one has an existing JUL-based set-up into which you would > like to see logs from a library that has been coded against the Log4j API. > Poking around > [https://github.com/apache/logging-log4j2/tree/master/log4j-to-slf4j/src/main/java/org/apache/logging/slf4j], > I hope this won't be very hard to do, unless I'm missing something. I want > log4j-to-jul to only depend on log4j-api and nothing else, notably NOT > log4j-core. > Please assign this issue to me so that I can work on this and contribute it. -- This message was sent by Atlassian Jira (v8.20.1#820001)