On Monday 16 August 2010 8:01:09 am Scott Parkerson wrote:
> I'm wondering if there is any easy way to set the logging level used for
> logging requests in/out of CXF. Currently, all messages logged via those
> interceptors are essentially INFO level, and I'd like them to (ideally) be
> DEBUG level. Is there any easy way to do that without re-implementing the
> classes? If not, I guess the easiest thing to do is to just not log INFO
> level by default. :D

If you don't mind my asking, if you don't want them logging anything, why have 
them configured in at all?  I'm serious, there is a slight performance impact 
of having them there even if they aren't logging anything.  

That said, I don't think there is a way to set the level right now.   A patch 
could be submitted.  :-)

Alternatively, you COULD write a PrintWriter that redirects the logging 
elsewhere.  To a file.  To a null output stream.   Etc....



-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to