You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2013/10/08 09:12:00 UTC
remove logger.info("skipped deployment of: " + beanClass.getName() +
" reason: " + e.getMessage());
Hi
in org.apache.webbeans.config.BeansDeployer#isValidManagedBean we log in
info and finer if a bean is not a managed bean:
logger.info("skipped deployment of: " + beanClass.getName() + " reason: " +
e.getMessage());
logger.log(Level.FINER, "skipped deployment of: " + beanClass.getName() + "
details: ", e);
the question is: any issue removing the info line?
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
Re: remove logger.info("skipped deployment of: " +
beanClass.getName() + " reason: " + e.getMessage());
Posted by Romain Manni-Bucau <rm...@gmail.com>.
set logger level to finer solves it.
The point is it logs too much by default in pretty much all libs
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/10/8 Mark Struberg <st...@yahoo.de>
> This was intended for detecting beans which did not get picked up because
> e.g. a Class is missing on the ClassPath (NoClassDefFound & friends).
>
> It might get hard to detect such cases.
>
> LieGrue,
> strub
>
>
>
>
> ----- Original Message -----
> > From: Romain Manni-Bucau <rm...@gmail.com>
> > To: openwebbeans-dev <de...@openwebbeans.apache.org>
> > Cc:
> > Sent: Tuesday, 8 October 2013, 9:12
> > Subject: remove logger.info("skipped deployment of: " +
> beanClass.getName() + " reason: " + e.getMessage());
> >
> > Hi
> >
> > in org.apache.webbeans.config.BeansDeployer#isValidManagedBean we log in
> > info and finer if a bean is not a managed bean:
> >
> > logger.info("skipped deployment of: " + beanClass.getName() + "
> > reason: " +
> > e.getMessage());
> > logger.log(Level.FINER, "skipped deployment of: " +
> > beanClass.getName() + "
> > details: ", e);
> >
> > the question is: any issue removing the info line?
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog:
> > **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
>
Re: remove logger.info("skipped deployment of: " + beanClass.getName() + " reason: " + e.getMessage());
Posted by Mark Struberg <st...@yahoo.de>.
This was intended for detecting beans which did not get picked up because e.g. a Class is missing on the ClassPath (NoClassDefFound & friends).
It might get hard to detect such cases.
LieGrue,
strub
----- Original Message -----
> From: Romain Manni-Bucau <rm...@gmail.com>
> To: openwebbeans-dev <de...@openwebbeans.apache.org>
> Cc:
> Sent: Tuesday, 8 October 2013, 9:12
> Subject: remove logger.info("skipped deployment of: " + beanClass.getName() + " reason: " + e.getMessage());
>
> Hi
>
> in org.apache.webbeans.config.BeansDeployer#isValidManagedBean we log in
> info and finer if a bean is not a managed bean:
>
> logger.info("skipped deployment of: " + beanClass.getName() + "
> reason: " +
> e.getMessage());
> logger.log(Level.FINER, "skipped deployment of: " +
> beanClass.getName() + "
> details: ", e);
>
> the question is: any issue removing the info line?
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog:
> **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>