
Hi Christian, Tomasz created a jira issue for implementing MongoDBAppender [2]. His implementation can be found at [3, 4, 5]. I think his impl is worth a look. He seprated connection functionality into MongoDBAppenderBase (part of logback-core) and ILoggingEvent specific code into MongoDBAppender (in logback-classic). Moreover, his code comes with 100% test coverage! I guess the code could be easily extended to cater for AccessEvent (in logback-access). Anyway, let me know what I can do to move this work forward. [1] https://github.com/qos-ch/logback-extensions [2] http://jira.qos.ch/browse/LOGBACK-522 [3] https://github.com/nurkiewicz/logback/tree/mongodb-appender [4] https://github.com/nurkiewicz/logback/commit/858aceb9af74d0 [5] https://github.com/nurkiewicz/logback/commit/f5bff8e43 -- Ceki http://twitter.com/#!/ceki On 14.06.2012 00:36, Christian Trutz wrote:
Hi,
We should merge ideas from all available implementations into one, stable, feature rich implementation.
+1 a very good idea :-)
Looks like the best place for MongoDB appender is logback-extensions project.
What is the contribution policy on logback-extensions? I see only: https://github.com/qos-ch/logback-extensions/wiki/Developers
Can you grant commiter privs to me (https://github.com/belaso) on logback-extension? I am an experienced OSS contributor (e.g. Eclipse EGit, see also http://www.ohloh.net/p/egit/contributors?page=2 ) I will cherry pick ideas from other implementations (mine also) and consolidate this to log back-extensions ...
Regards Christian