You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2015/04/30 18:53:07 UTC
[jira] [Updated] (CXF-6269) Logging interceptors should allow to
switch logging on/off for individual rest resources
[ https://issues.apache.org/jira/browse/CXF-6269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CXF-6269:
-----------------------------
Fix Version/s: (was: 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
>
> 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)