[hibernate-issues] [Hibernate-JIRA] Commented: (METAGEN-5) Make the logging output configurable

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Nov 6 10:39:08 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34476#action_34476 ] 

Hardy Ferentschik commented on METAGEN-5:
-----------------------------------------

I think messages have to be printed via ProcessingEnvironment.getMessenger(). At least errors and warnings should be printed this way. 
When it comes to debug/info messages (we are using Diagnostic.Kind.NOTE at the moment) we might be able to use jdk logging. I am not sure though if it will work. I can have a look.

> Make the logging output configurable
> ------------------------------------
>
>                 Key: METAGEN-5
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-5
>             Project: Hibernate StaticMetamodel Generator
>          Issue Type: Task
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>
> Pass additional attribute to the processor to turn on/off the printing of debug statements via processingEnv.getMessager()

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