IMHO configuring the logger has to be solved by the used container.

Ciao,
Mario


Von: Simon Lessard [mailto:simon.lessar...@gmail.com]
Gesendet: Donnerstag, 01. Oktober 2009 16:57
An: MyFaces Development
Betreff: Re: [VOTE] use of jul or commons logging on myfaces core 2.0

+1 for jul. However, I think we should add an utility class 
(ServletContextListnener? This is the easiest way I know of, if it qualifies 
for easiest at all) in myfaces-shared or extension to make it easier to 
configure the logger because it's way more annoying to configure than 
commons-logging backed with log4j imho.


Regards,

~ Simon
On Thu, Oct 1, 2009 at 1:25 AM, Mario Ivankovits 
<ma...@ops.co.at<mailto:ma...@ops.co.at>> wrote:

+1 for jul



reduces dependencies - and sun also use it, no?





Von: Leonardo Uribe [mailto:lu4...@gmail.com<mailto:lu4...@gmail.com>]
Gesendet: Donnerstag, 01. Oktober 2009 04:06
An: MyFaces Development
Betreff: [VOTE] use of jul or commons logging on myfaces core 2.0



Hi

Right now, facelets code added to myfaces core 2.0.x branch uses jul in this 
form:

    protected final static Logger log = 
Logger.getLogger("facelets.viewhandler");

But the original myfaces code uses commons logging, (so if there is no 
agreement about use jul, we should unify logging code using commons-logging).

It is necessary to unify in one way or another the code of 2.0.x branch, but 
before that, it is necessary to ask the community about this issue.

So, please vote in this way:

+1 for jul
+1 for commons-logging
+0
-1 and let the code as is (and a reason why).

regards,

Leonardo Uribe

Reply via email to