Skip to content

Commit 3440bf6

Browse files
DATAMONGO-1714 - Deprecate MongoLog4jAppender.
1 parent deed191 commit 3440bf6

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Diff for: spring-data-mongodb-log4j/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# MongoDB Log4J Appender
22

3+
:warning: Deprecated. About to be removed for 2.0.0.RC1.
4+
35
This module sets up a Log4J appender that puts logging events in MongoDB. It is fully configurable
46
and connects directly to the MongoDB server using the driver. It has no dependency on any Spring package.
57

Diff for: spring-data-mongodb-log4j/src/main/java/org/springframework/data/mongodb/log4j/MongoLog4jAppender.java

+2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
* @author Oliver Gierke
4545
* @author Christoph Strobl
4646
* @author Ricardo Espirito Santo
47+
* @deprecated since 2.0.0.M4. About to be removed for 2.0.0.RC1.
4748
*/
49+
@Deprecated
4850
public class MongoLog4jAppender extends AppenderSkeleton {
4951

5052
public static final String LEVEL = "level";

Diff for: spring-data-mongodb-log4j/src/main/java/org/springframework/data/mongodb/log4j/package-info.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* Infrastructure for to use MongoDB as a logging sink.
3+
*
4+
* @deprecated since 2.0.0.M4. About to be removed for 2.0.0.RC1.
35
*/
46
package org.springframework.data.mongodb.log4j;
5-

0 commit comments

Comments
 (0)