Skip to content

alexandrerocco/log4mongo-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log4mongo-net
===============
log4mongo-net is log4net appender to MongoDB database.
log4mongo-net is using 10gen official C# driver -  http://www.mongodb.org/display/DOCS/CSharp+Language+Center

Licence
============
New BSD License

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

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@codescale.net>

References
==========
[1] http://www.mongodb.org/
[2] http://logging.apache.org/log4net/
[3] http://www.mongodb.org/display/DOCS/CSharp+Language+Center

About

log4net appender to MongoDB database.

Resources

Stars

Watchers

Forks

Packages

No packages published