forked from log4mongo/log4mongo-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
39 lines (33 loc) · 1.06 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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