[
https://issues.apache.org/jira/browse/SOLR-13000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16692992#comment-16692992
]
Uwe Schindler commented on SOLR-13000:
--------------------------------------
I agree with [~dancollins]. The implementation should not be included into the
dependency. Solr itsself is using log4j2, but the Solrj library SHOULD NOT DO
THIS. It's up to the application developer to use the logging framework that is
intended for the application. Theoretically you can also use Solrj with
commons-loggin or log4j1 if you like. So the dependency is not added.
This is not a bug, it allows flexibility. It's also documented that you need a
slf4j implementation JAR file.
> log4j-slf4j-impl jar (inadvertently?) missing in solrj/lib
> ----------------------------------------------------------
>
> Key: SOLR-13000
> URL: https://issues.apache.org/jira/browse/SOLR-13000
> Project: Solr
> Issue Type: Bug
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Priority: Minor
> Attachments: SOLR-13000.patch
>
>
> My colleague [~ajhalani] noticed that declaring a {{solr-solrj}} dependency
> alone when configuring {{-Dlog4j.configurationFile}} for a project is not
> sufficient.
> I looked into further and it seems that the {{log4j-slf4j-impl}} jar is
> (inadvertently?) missing in {{solrj/lib}} in the release?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]