Skip to content

Commit

Permalink
[CXF-7047] Mark core logging feature as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneider committed Sep 23, 2016
1 parent fe048e6 commit 428bbe9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions core/src/main/java/org/apache/cxf/feature/LoggingFeature.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <pre>
* <![CDATA[
<jaxws:endpoint ...>
Expand All @@ -42,8 +43,11 @@
</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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 428bbe9

Please sign in to comment.