[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-798) Make use of categories instead of fqcn for logging

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Jul 6 12:21:57 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42785#action_42785 ] 

Emmanuel Bernard commented on HSEARCH-798:
------------------------------------------

One problem with enums is that other modules will need to declare their category on core.
Better have an Interface category (with a toString() method essentially) and various module specific enums implementing it.

> Make use of categories instead of fqcn for logging
> --------------------------------------------------
>
>                 Key: HSEARCH-798
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-798
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: engine
>            Reporter: Emmanuel Bernard
>             Fix For: 4.0
>
>
> http://community.jboss.org/wiki/HowToLogInJBossProjects
> We need to define the set of categories we wish to have
> eg:
> * org.hibernate.search.query
> * org.hibernate.search.hcore
> * org.hibernate.search.batchindexing etc
> The idea behind category is that they are more stable than classes and thus better for the user
> WDYT?

-- 
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