You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2019/07/02 12:16:00 UTC

[jira] [Comment Edited] (CXF-8063) Support lower logging level in Slf4jEventSender

    [ https://issues.apache.org/jira/browse/CXF-8063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876902#comment-16876902 ] 

Colm O hEigeartaigh edited comment on CXF-8063 at 7/2/19 12:15 PM:
-------------------------------------------------------------------

You can now set the logging level on the Slf4jEventSender, which in turn you can set on the LoggingFeature via setSender, e.g. in spring:
{code:java}
<bean id="eventSender" class="org.apache.cxf.ext.logging.slf4j.Slf4jVerboseEventSender">
    <property name="loggingLevel" value="DEBUG" />
</bean>

<cxf:bus>
        <cxf:features>
            <bean class="org.apache.cxf.ext.logging.LoggingFeature">
                <property name="sender" ref="eventSender"/>
            </bean>
        </cxf:features>
    </cxf:bus>
{code}


was (Author: coheigea):
You can now set the logging level on the Slf4jEventSender, which in turn you can set on the LoggingFeature via setSender

> Support lower logging level in Slf4jEventSender
> -----------------------------------------------
>
>                 Key: CXF-8063
>                 URL: https://issues.apache.org/jira/browse/CXF-8063
>             Project: CXF
>          Issue Type: Improvement
>          Components: logging
>            Reporter: Valentin Aitken
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 3.3.3
>
>
> When one uses LoggingFeature, by default it can only write to info log.
> I would like to be able to log it as debug or trace.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)