You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Simon Kitching (JIRA)" <de...@myfaces.apache.org> on 2005/12/15 04:58:48 UTC

[jira] Updated: (MYFACES-949) New logging framework for MyFaces code

     [ http://issues.apache.org/jira/browse/MYFACES-949?page=all ]

Simon Kitching updated MYFACES-949:
-----------------------------------

    Attachment: LogFactory.java
                Log.java

files for package org.apache.myfaces.logging in "share" directory

> New logging framework for MyFaces code
> --------------------------------------
>
>          Key: MYFACES-949
>          URL: http://issues.apache.org/jira/browse/MYFACES-949
>      Project: MyFaces
>         Type: Improvement
>   Components: General
>     Reporter: Simon Kitching
>  Attachments: Log.java, LogFactory.java
>
> Logging for MyFaces classes has been discussed here:
>   http://mail-archives.apache.org/mod_mbox/myfaces-dev/200512.mbox/%3ccb51ede40512061608r35349415j7db9604004357891@mail.gmail.com%3e 
> and especially here:
>   http://mail-archives.apache.org/mod_mbox/myfaces-dev/200512.mbox/%3c43A0BD57.5000309@obsidium.com%3e
> Attached are classes intended to go in the "share" code which provide a logging API in the package "org.apache.myfaces.logging".
> This means all MyFaces code that wants to log can do so without any explicit dependency on an external logging library.
> The implementation simply forwards directly to commons-logging in a pretty efficient way.
> These logging classes do *not* provide the ability to swap the underlying logging library at runtime like commons-logging does; it simply centralises the logging lib dependency into one class (org.apache.myfaces.logging.Log) instead of spreading it out across all MyFaces classes.

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