You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Andreas Niemeyer <an...@gutzmann.com> on 2008/12/17 11:02:56 UTC

how to prevent extensive logging for myfaces and tomahawk when server starts?

Hi,

When the application server starts, there is an extensive logging 
outcome from  the myfaces libraries. How can I suppress this? Can I 
remove the faces-config from the jars?


Regards,
Andreas


Re: how to prevent extensive logging for myfaces and tomahawk when server starts?

Posted by Simon Kitching <sk...@apache.org>.
Andreas Niemeyer schrieb:
> Hi,
>
> When the application server starts, there is an extensive logging
> outcome from  the myfaces libraries. How can I suppress this? Can I
> remove the faces-config from the jars?

Myfaces and Tomahawk both use Apache commons-logging, which will of
course forward to whatever "real" logging library you have in your
classpath. So you just need to configure whatever "real" logging library
is being used to filter out the message categories you don't want. This
is standard logging configuration stuff, and not specific to myfaces.

Regards,
Simon

-- 
-- Emails in "mixed" posting style will be ignored
-- (http://en.wikipedia.org/wiki/Posting_style)