One of the coolest feature of Mongo is the concept of Capped Collection, or “fixed size” collection. They are based on a FIFO queue where the first record to be discharded is the first inserted, and this is exceptional to create a log-collection that automatically purge all old logs without any user intervention. To be [...]
Continue reading about Use Capped collection on MongoAppender for Log4Net
I’ve blogged some days ago on the possibility to save log4net logs inside a Mongo database, but you should be aware that this technique can be dangerous if your objects have circular references. A circular reference happens when object A reference object B and object B directly or indirectly reference object A again and this [...]
As I showed in an old post, Mongo Db is perfect to store logs, but as everyone knows, log databases tend to become really big, especially if the verbosity level is high, so I usually schedule a process that deletes all log older than a certain date to free space in log databases. To cleanup [...]
Continue reading about Keep your Mongo log database small deleting old logs
Store complex object associated with logs thanks to MongoDb and a log4net Appender.
Continue reading about Using Mongo Database to store Log4Net logs
Previous posts on the NoSql and Raven Series NoSql and a life without Schema NoSql and a life without schema continued Rename a property in RavenDb First Touch of RavenDb HTTP API Renaming property in RavenDb with HTTP API Other posts by Mauro on RavenDb Subject. RavenDb: Start your engines RavenDb: First Contact RavenDB: Storing [...]
Continue reading about MongoDB and concept of identity in NoSql db


