cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6269) Logging interceptors should allow to switch logging on/off for individual rest resources
Date Thu, 30 Apr 2015 16:59:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-6269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Schneider resolved CXF-6269.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.1.0

> Logging interceptors should allow to switch logging on/off for individual rest resources
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-6269
>                 URL: https://issues.apache.org/jira/browse/CXF-6269
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.4
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.1.0
>
>
> For SOAP requests/responses we determine a logger name like:
> String logName = "org.apache.cxf.services." + serviceName + "."  + portName + "." + portTypeName;
> This allows to switch logging on and off for individual SOAP services.
> For REST we always use log4j.logger.org.apache.cxf.interceptor.LoggingInInterceptor or
log4j.logger.org.apache.cxf.interceptor.LoggingInInterceptor.
> We should also support a similar scheme for REST like for SOAP.
> Proposal:
> String logName = "org.apache.cxf.services." + endpointInfo.getName();
> or namespace + "." + localname instead the getName.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message