Skip to content

log4net appender to MongoDB database. forked to use the official 10gen c# driver

Notifications You must be signed in to change notification settings

duckworth/log4mongo-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log4mongo-net with 10gen driver
===============
log4mongo-net is log4net appender to MongoDB database.
this forked version of log4mongo-net is using the official 10gen mongo-csharp-driver - https://github.com/mongodb/mongo-csharp-driver

Requirements
============
- .NET 3.5+ required
- tested with MongoDB 1.8+

Configuration
=============
Include all DLLs in bin/ directory to your project.

log4net appender sample XML configuration::

<appender name="MongoAppender" type="log4net.Appender.MongoDBAppender, log4mongo-net">
  <!-- MongoDB connection options -->
  <host value="localhost" />
  <port value="27017" />
  <databaseName value="logs" />
  <collectionName value="logs_net" />
  <!-- 
  Uncomment following for MongoDB authentication
  See http://www.mongodb.org/display/DOCS/Security+and+Authentication
  <userName value="mylogin" />
  <password value="mysecretpass" />
  -->
</appender>

Author
======
Jozef Sevcik <sevcik@styxys.com>

References
==========
[1] http://www.mongodb.org/
[2] http://logging.apache.org/log4net/
[3] http://github.com/samus/mongodb-csharp

About

log4net appender to MongoDB database. forked to use the official 10gen c# driver

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%