You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Raj Floyd <ra...@gmail.com> on 2011/04/21 07:56:57 UTC
Logging level control
Hi,
LoggingXXInterceptor s are used to perform logging. Is there any way to
control the level of logging programmatically? Like to set the level as
FINE, DEBUG, INFO...etc
Thx
Raj
Re: Logging level control
Posted by Raj Floyd <ra...@gmail.com>.
Thanks Dan.
On Fri, Apr 22, 2011 at 9:52 PM, Daniel Kulp <dk...@apache.org> wrote:
> On Thursday 21 April 2011 1:56:57 AM Raj Floyd wrote:
> > Hi,
> >
> > LoggingXXInterceptor s are used to perform logging. Is there any way to
> > control the level of logging programmatically? Like to set the level as
> > FINE, DEBUG, INFO...etc
>
> Not currently. However, you can easily subclass the Logging*Interceptor
> classes and just override the "protected void log(String message)" method
> to
> log anywhere or anyhow that you would like.
>
> That said, it could definitely be a good enhancement request. A patch
> would
> be great. :-)
>
> --
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog
> Talend - http://www.talend.com
>
Re: Logging level control
Posted by Daniel Kulp <dk...@apache.org>.
On Thursday 21 April 2011 1:56:57 AM Raj Floyd wrote:
> Hi,
>
> LoggingXXInterceptor s are used to perform logging. Is there any way to
> control the level of logging programmatically? Like to set the level as
> FINE, DEBUG, INFO...etc
Not currently. However, you can easily subclass the Logging*Interceptor
classes and just override the "protected void log(String message)" method to
log anywhere or anyhow that you would like.
That said, it could definitely be a good enhancement request. A patch would
be great. :-)
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com