Skip to content

Commit 7bf3643

Browse files
committed
DATAMONGO-304 - Removed document subpackage from Log4jAppender module.
1 parent 201ae3e commit 7bf3643

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

spring-data-mongodb-log4j/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ and connects directly to the MongoDB server using the driver. It has no dependen
55

66
To use it, configure a host, port, (optionally) applicationId, and database property in your Log4J configuration:
77

8-
log4j.appender.stdout=org.springframework.data.document.mongodb.log4j.MongoLog4jAppender
8+
log4j.appender.stdout=org.springframework.data.mongodb.log4j.MongoLog4jAppender
99
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
1010
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
1111
log4j.appender.stdout.host = localhost
@@ -32,7 +32,7 @@ An example log entry might look like:
3232
{
3333
"_id" : ObjectId("4d89341a8ef397e06940d5cd"),
3434
"applicationId" : "my.application",
35-
"name" : "org.springframework.data.document.mongodb.log4j.AppenderTest",
35+
"name" : "org.springframework.data.mongodb.log4j.AppenderTest",
3636
"level" : "DEBUG",
3737
"timestamp" : ISODate("2011-03-23T16:53:46.778Z"),
3838
"properties" : {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.data.document.mongodb.log4j;
17+
package org.springframework.data.mongodb.log4j;
1818

1919
import java.net.UnknownHostException;
2020
import java.util.Arrays;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.data.document.mongodb.log4j;
17+
package org.springframework.data.mongodb.log4j;
1818

1919
import static org.hamcrest.Matchers.*;
2020
import static org.junit.Assert.*;

spring-data-mongodb-log4j/src/test/resources/log4j.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
log4j.rootCategory=INFO, stdout
22

3-
log4j.appender.stdout=org.springframework.data.document.mongodb.log4j.MongoLog4jAppender
3+
log4j.appender.stdout=org.springframework.data.mongodb.log4j.MongoLog4jAppender
44
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
55
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
66
log4j.appender.stdout.host = localhost

0 commit comments

Comments
 (0)