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 ebda1bfab42..dbd663889dc 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 @@ * 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. + * *
* @@ -42,8 +43,11 @@ ]]>+ * + * @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; 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 fedea47c021..bf524fa2cac 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 @@ /** * 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); 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 b356e554d8b..bd4617a8d0e 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.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";