log4mongo / log4mongo-java

log4j appender to MongoDB database
http://log4mongo.org
Apache License 2.0
80 stars 29 forks source link

rootLevelProperties only work with ExtendedMongoDbAppender #16

Open martinkrcho opened 11 years ago

martinkrcho commented 11 years ago

The option to include some extra root level properties only work when using the ExtendedMongoDbAppender. This is not very clear in the documentation. It would be nice if it would be possible to add these properties with MongoDbPatternLayoutAppender. I guess I could add the properties I want into the ConversionPattern, but you could at least update the docs to make it more clear. Everything else works great for me, great job! I just thought I raise the issue to help you make the library even better :)