[jira] [Commented] (LOG4J2-2241) log4j-slf4j-impl does not provide slf4j with the service provider with Java 9

2018-03-04 Thread Joshua Popoff (JIRA)

[ 
https://issues.apache.org/jira/browse/LOG4J2-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385388#comment-16385388
 ] 

Joshua Popoff commented on LOG4J2-2241:
---

...yup, looks like this is indeed a duplicate of -LOG4J2-2129- - I missed that 
issue somehow. Cheers.

> log4j-slf4j-impl does not provide slf4j with the service provider with Java 9
> -
>
> Key: LOG4J2-2241
> URL: https://issues.apache.org/jira/browse/LOG4J2-2241
> Project: Log4j 2
>  Issue Type: Bug
>  Components: SLF4J Bridge
>Affects Versions: 2.10.0
>Reporter: Joshua Popoff
>Priority: Blocker
>
> log4j-slf4j-impl does not 
> {noformat}
> provides org.slf4j.spi.SLF4JServiceProvider with 
> org.apache.logging.slf4j.SLF4JServiceProvider;{noformat}
> (due to no module-info.java, and only an automatic module name, in the 
> log4j-slf4j-impl project.
> When ran:
> {noformat}
> SLF4J: No SLF4J providers were found.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
> SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior 
> to 1.8.
> SLF4J: Ignoring binding found at 
> [jar:file://[redacted]/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (LOG4J2-2241) log4j-slf4j-impl does not provide slf4j with the service provider with Java 9

2018-03-04 Thread Joshua Popoff (JIRA)

 [ 
https://issues.apache.org/jira/browse/LOG4J2-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joshua Popoff resolved LOG4J2-2241.
---
Resolution: Duplicate

> log4j-slf4j-impl does not provide slf4j with the service provider with Java 9
> -
>
> Key: LOG4J2-2241
> URL: https://issues.apache.org/jira/browse/LOG4J2-2241
> Project: Log4j 2
>  Issue Type: Bug
>  Components: SLF4J Bridge
>Affects Versions: 2.10.0
>Reporter: Joshua Popoff
>Priority: Blocker
>
> log4j-slf4j-impl does not 
> {noformat}
> provides org.slf4j.spi.SLF4JServiceProvider with 
> org.apache.logging.slf4j.SLF4JServiceProvider;{noformat}
> (due to no module-info.java, and only an automatic module name, in the 
> log4j-slf4j-impl project.
> When ran:
> {noformat}
> SLF4J: No SLF4J providers were found.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
> SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior 
> to 1.8.
> SLF4J: Ignoring binding found at 
> [jar:file://[redacted]/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LOG4J2-2241) log4j-slf4j-impl does not provide slf4j with the service provider with Java 9

2018-03-04 Thread Joshua Popoff (JIRA)

[ 
https://issues.apache.org/jira/browse/LOG4J2-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385299#comment-16385299
 ] 

Joshua Popoff commented on LOG4J2-2241:
---

I've made an example application demonstrating: https://github.com/kashike/lbe

> log4j-slf4j-impl does not provide slf4j with the service provider with Java 9
> -
>
> Key: LOG4J2-2241
> URL: https://issues.apache.org/jira/browse/LOG4J2-2241
> Project: Log4j 2
>  Issue Type: Bug
>  Components: SLF4J Bridge
>Affects Versions: 2.10.0
>Reporter: Joshua Popoff
>Priority: Blocker
>
> log4j-slf4j-impl does not 
> {noformat}
> provides org.slf4j.spi.SLF4JServiceProvider with 
> org.apache.logging.slf4j.SLF4JServiceProvider;{noformat}
> (due to no module-info.java, and only an automatic module name, in the 
> log4j-slf4j-impl project.
> When ran:
> {noformat}
> SLF4J: No SLF4J providers were found.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
> SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior 
> to 1.8.
> SLF4J: Ignoring binding found at 
> [jar:file://[redacted]/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LOG4J2-2241) log4j-slf4j-impl does not provide slf4j with the service provider with Java 9

2018-02-05 Thread Joshua Popoff (JIRA)

[ 
https://issues.apache.org/jira/browse/LOG4J2-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353339#comment-16353339
 ] 

Joshua Popoff commented on LOG4J2-2241:
---

Yes, that is true – but it is also a good thing, due to how packages and 
modules are on Java 9.

> log4j-slf4j-impl does not provide slf4j with the service provider with Java 9
> -
>
> Key: LOG4J2-2241
> URL: https://issues.apache.org/jira/browse/LOG4J2-2241
> Project: Log4j 2
>  Issue Type: Bug
>  Components: SLF4J Bridge
>Affects Versions: 2.10.0
>Reporter: Joshua Popoff
>Priority: Blocker
>
> log4j-slf4j-impl does not 
> {noformat}
> provides org.slf4j.spi.SLF4JServiceProvider with 
> org.apache.logging.slf4j.SLF4JServiceProvider;{noformat}
> (due to no module-info.java, and only an automatic module name, in the 
> log4j-slf4j-impl project.
> When ran:
> {noformat}
> SLF4J: No SLF4J providers were found.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
> SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior 
> to 1.8.
> SLF4J: Ignoring binding found at 
> [jar:file://[redacted]/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LOG4J2-2241) log4j-slf4j-impl does not provide slf4j with the service provider with Java 9

2018-02-05 Thread Joshua Popoff (JIRA)

[ 
https://issues.apache.org/jira/browse/LOG4J2-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353332#comment-16353332
 ] 

Joshua Popoff commented on LOG4J2-2241:
---

Yes, this is running with Java 9. A module-info that contains a "provides" 
would also be necessary for it to work as intended, as far as I can see.

I'm find with a second JAR just for Java 9, though it is a bit on the hacky 
side.

> log4j-slf4j-impl does not provide slf4j with the service provider with Java 9
> -
>
> Key: LOG4J2-2241
> URL: https://issues.apache.org/jira/browse/LOG4J2-2241
> Project: Log4j 2
>  Issue Type: Bug
>  Components: SLF4J Bridge
>Affects Versions: 2.10.0
>Reporter: Joshua Popoff
>Priority: Blocker
>
> log4j-slf4j-impl does not 
> {noformat}
> provides org.slf4j.spi.SLF4JServiceProvider with 
> org.apache.logging.slf4j.SLF4JServiceProvider;{noformat}
> (due to no module-info.java, and only an automatic module name, in the 
> log4j-slf4j-impl project.
> When ran:
> {noformat}
> SLF4J: No SLF4J providers were found.
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
> SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior 
> to 1.8.
> SLF4J: Ignoring binding found at 
> [jar:file://[redacted]/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (LOG4J2-2241) log4j-slf4j-impl does not provide slf4j with the service provider with Java 9

2018-02-05 Thread Joshua Popoff (JIRA)
Joshua Popoff created LOG4J2-2241:
-

 Summary: log4j-slf4j-impl does not provide slf4j with the service 
provider with Java 9
 Key: LOG4J2-2241
 URL: https://issues.apache.org/jira/browse/LOG4J2-2241
 Project: Log4j 2
  Issue Type: Bug
  Components: SLF4J Bridge
Affects Versions: 2.10.0
Reporter: Joshua Popoff


log4j-slf4j-impl does not 
{noformat}
provides org.slf4j.spi.SLF4JServiceProvider with 
org.apache.logging.slf4j.SLF4JServiceProvider;{noformat}
(due to no module-info.java, and only an automatic module name, in the 
log4j-slf4j-impl project.

When ran:
{noformat}
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior to 
1.8.
SLF4J: Ignoring binding found at 
[jar:file://[redacted]/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)