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 2016/07/08 10:27:56 UTC

WARNING for duplicated interceptors

Hi guys

today we issue a warning when duplicated interceptors are set up.

Saw it with DS using beans.xml + @Priority on CDI 1.1 runtimes

I wonder if it is ok to put it as an INFO?

I'd like a startup to not have any log > INFO when all is fine and this
behavior is ok for the spec as said Gerhard.

wdyt?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

Re: WARNING for duplicated interceptors

Posted by Gerhard Petracek <ge...@gmail.com>.
hi,

i would prefer an info which shows the final order (of interceptors,...)
including skipped configs due to such a (valid) redundancy.
-> with that we get an additional benefit (for users).

regards,
gerhard



2016-07-08 12:27 GMT+02:00 Romain Manni-Bucau <rm...@gmail.com>:

> Hi guys
>
> today we issue a warning when duplicated interceptors are set up.
>
> Saw it with DS using beans.xml + @Priority on CDI 1.1 runtimes
>
> I wonder if it is ok to put it as an INFO?
>
> I'd like a startup to not have any log > INFO when all is fine and this
> behavior is ok for the spec as said Gerhard.
>
> wdyt?
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>