myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2378) Use java util logging on 2.0.x branch
Date Wed, 07 Oct 2009 17:30:31 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763148#action_12763148
] 

Leonardo Uribe commented on MYFACES-2378:
-----------------------------------------

In the patch attached there is a proposal for this change

It uses as key to obtain the logger the full class name in this way:

private static final Logger log = Logger.getLogger(ApplicationImpl.class.getName());

It also follow the convention used by 

http://commons.apache.org/logging/commons-logging-1.1.1/apidocs/org/apache/commons/logging/impl/Jdk14Logger.html

to map logging messages (TRACE -> FINEST, DEBUG -> FINE, ERROR -> SEVERE, FATAL ->SEVERE,
INFO -> INFO, WARNING -> WARNING)

If no objections I'll commit this code soon.

> Use java util logging on 2.0.x branch
> -------------------------------------
>
>                 Key: MYFACES-2378
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2378
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>         Attachments: MYFACES-2378-core.patch, MYFACES-2378-shared-core.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message