myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manfred Geiler <>
Subject Re: Warning messages
Date Mon, 21 Mar 2005 19:47:22 GMT
Yes, I agree with Kalle. Log4j (and even Jdk14 logging) gives people
enough possibilities to filter out unwanted warnings.

+1 for (more) warnings
-1 for additional context-variable


On Mon, 21 Mar 2005 11:39:34 -0800, Korhonen, Kalle <> wrote:
> > -----Original Message-----
> > From: Heath Borders []
> > Subject: Warning messages
> > Do you guys think we should have warning messages for things
> > we know will cause components to not function properly, and
> > then have a variable in the web.xml to turn it off?
> > We could have warning messages for all components that need
> > forms, or for components using the "for" attribute that
> > cannot find their parent component, etc.
> > These could all be enabled by default.
> > Then, there could be a context-variable named
> > "org.apache.myfaces.warnings" which could be set to "false" or "true"
> > to turn it off or on.
> Otherwise, I'm definitely for more logging and warning messages, but
> please let's not add a new context-variable for this. Even newbies
> should be able to configure java/commons/log4j logging and if not, they
> are much better off with learning to configure those properly than some
> other custom logging properties. I can also see that that pretty soon
> your simple and harmless warnings on/off would be changed to logging
> level, then a few more settings for redirecting etc... So let's keep
> logging configuration in the standard logging properties. Surely we can
> provide default logging properties where warnings are enabled (and
> usually anything above info is logged by default anyways).
> Kalle

View raw message