Long time, no blog.
I finally had some free time to do a little house-keeping on my NLog.MongoDB project.
- Added the ability to use a connection string or an existing connection string name.
- Fixed the serialization issue with exceptions.
Feel free to check it out on GitHub here: https://github.com/Logrythmik/NLog.MongoDB
Also, the project is also now available on Nuget!
I've been playing with MongoDB quite a bit lately to wrap my head around it.
We use NLog at work, and I thought MongoDB would be a great way to store NLog entries so I threw this MongoDB target to connect the two.
To install, place the binaries in your bin, and configure NLog like so:
<?xml version="1.0" encoding="utf-8" ?>
<target name="Mongo" type="MongoDB" host="localhost" port="27017"/>
<logger name="*" minLevel="Info" appendTo="Mongo"/>
Fork it on GitHub
Get the binaries here:
NLog.MongoDB.Binaries.zip (728.05 kb)
Zipped Source here:
NLog.MongoDB.zip (14.99 mb)