[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3486) Include one ore more SLF4J "adapters"

Ceki Gulcu (JIRA) noreply at atlassian.com
Fri Nov 13 10:52:12 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34569#action_34569 ] 

Ceki Gulcu commented on HHH-3486:
---------------------------------

I was trying to point out that the current situation is not as bad as
described by Chris Bredesen when he writes:

  SLF4J requires the inclusion of the SLF4J library as well as either a
  native or a wrapped implementation. The manual vaguely references such
  a need but it's never quite clear that the user must visit the SLF4J
  website and obtain these jars himself.

When the user hits the problem of the missing slf4j-binding, he or she
is warned by SLF4J with a reference for further information. This
runtime warning is more than "a vague reference in the manual". It
should also be quite clear from the reading the description of the
error code that the user must download a binding from the SLF4J site.

If for some reason the message emitted by SLF4J or the description of
the error code is unclear, I suggest that these be improved instead of
hard-coding an slf4j binding in hibernate. As you say, the choice of
the logging framework should be made by the end-user.

I welcome your suggestions in regard to the message emitted by SLF4J as
well as the related error description in [1].

[1] http://www.slf4j.org/codes.html#StaticLoggerBinder


> Include one ore more SLF4J "adapters"
> -------------------------------------
>
>                 Key: HHH-3486
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3486
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.3.0.GA, 3.3.0.SP1, 3.3.1
>            Reporter: Chris Bredesen
>            Assignee: Steve Ebersole
>
> Hibernate, as of 3.3, no longer distributes all jars needed to run the framework.  SLF4J requires the inclusion of the SLF4J library as well as either a native or a wrapped implementation.  The manual vaguely references such a need but it's never quite clear that the user must visit the SLF4J website and obtain these jars himself.  Maven users are of course unaffected since the additional SLF4J jars are published in the central repo.
> "Adapter" may be the wrong term here but I think the point has been made :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list