cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [2/2] cxf git commit: [CXF-7047] Mark core logging feature as deprecated
Date Fri, 23 Sep 2016 19:52:37 GMT
[CXF-7047] Mark core logging feature as deprecated


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/428bbe90
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/428bbe90
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/428bbe90

Branch: refs/heads/master
Commit: 428bbe90e4189e70df9a6a450a10320c8be6d42f
Parents: fe048e6
Author: Christian Schneider <chris@die-schneider.net>
Authored: Fri Sep 23 16:38:05 2016 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Fri Sep 23 21:52:30 2016 +0200

----------------------------------------------------------------------
 core/src/main/java/org/apache/cxf/feature/LoggingFeature.java    | 4 ++++
 .../java/org/apache/cxf/interceptor/LoggingInInterceptor.java    | 2 ++
 .../java/org/apache/cxf/interceptor/LoggingOutInterceptor.java   | 3 ++-
 3 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/428bbe90/core/src/main/java/org/apache/cxf/feature/LoggingFeature.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/feature/LoggingFeature.java b/core/src/main/java/org/apache/cxf/feature/LoggingFeature.java
index ebda1bf..dbd6638 100644
--- a/core/src/main/java/org/apache/cxf/feature/LoggingFeature.java
+++ b/core/src/main/java/org/apache/cxf/feature/LoggingFeature.java
@@ -33,6 +33,7 @@ import org.apache.cxf.interceptor.LoggingOutInterceptor;
  * By attaching this feature to an endpoint, you
  * can specify logging. If this feature is present, an endpoint will log input
  * and output of ordinary and log messages.
+ * 
  * <pre>
  * <![CDATA[
     <jaxws:endpoint ...>
@@ -42,8 +43,11 @@ import org.apache.cxf.interceptor.LoggingOutInterceptor;
     </jaxws:endpoint>
   ]]>
   </pre>
+ * 
+ * @deprecated use the logging module rt/features/logging instead 
  */
 @NoJSR250Annotations
+@Deprecated
 @Provider(value = Type.Feature)
 public class LoggingFeature extends AbstractFeature {
     private static final int DEFAULT_LIMIT = AbstractLoggingInterceptor.DEFAULT_LIMIT;

http://git-wip-us.apache.org/repos/asf/cxf/blob/428bbe90/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java b/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
index fedea47..bf524fa 100644
--- a/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
+++ b/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
@@ -39,8 +39,10 @@ import org.apache.cxf.phase.Phase;
 /**
  * A simple logging handler which outputs the bytes of the message to the
  * Logger.
+ * @deprecated use the logging module rt/features/logging instead
  */
 @NoJSR250Annotations
+@Deprecated
 public class LoggingInInterceptor extends AbstractLoggingInterceptor {
     private static final Logger LOG = LogUtils.getLogger(LoggingInInterceptor.class);
     

http://git-wip-us.apache.org/repos/asf/cxf/blob/428bbe90/core/src/main/java/org/apache/cxf/interceptor/LoggingOutInterceptor.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/interceptor/LoggingOutInterceptor.java b/core/src/main/java/org/apache/cxf/interceptor/LoggingOutInterceptor.java
index b356e55..bd4617a 100644
--- a/core/src/main/java/org/apache/cxf/interceptor/LoggingOutInterceptor.java
+++ b/core/src/main/java/org/apache/cxf/interceptor/LoggingOutInterceptor.java
@@ -36,9 +36,10 @@ import org.apache.cxf.message.Message;
 import org.apache.cxf.phase.Phase;
 
 /**
- * 
+ * @deprecated use the logging module rt/features/logging instead
  */
 @NoJSR250Annotations
+@Deprecated
 public class LoggingOutInterceptor extends AbstractLoggingInterceptor {
     private static final Logger LOG = LogUtils.getLogger(LoggingOutInterceptor.class);
     private static final String LOG_SETUP = LoggingOutInterceptor.class.getName() + ".log-setup";


Mime
View raw message