captaincodeman / elmah-mongodb Goto Github PK
View Code? Open in Web Editor NEWMongoDB provider for Elmah
Home Page: http://www.captaincodeman.com/2011/05/28/elmah-error-logging-official-10gen-mongodb-driver/
MongoDB provider for Elmah
Home Page: http://www.captaincodeman.com/2011/05/28/elmah-error-logging-official-10gen-mongodb-driver/
Please update nuget if the version with new Mongodb 2.0 driver is all set, see #15.
Thank you.
Element name '.ASPXAUTH' is not valid because it contains a '.'.
I had a simple hack to check for this and then replace the '.' with a null.
Happy to check in.
R
When using Mongo with authentication, you have to connect to the admin database initially. After this you can work with collections in any other databases that you have access to.
I think elmah-mongdb assumes that you want to store the Elmah error logs in the database specified in the connection string though... it would be great if the database could be [optionally] configured separately though so that one database (the admin database) was used to establish the connection to MongoDB but another database was used for error logs.
Cheers,
James
This is a simple one and is caused by a mismatch on the 10gen driver versions.
Rebuilding the Elmah-mongodb using the correct/latest drivers (MongoDB.Bson, MongoDB.Driver) will fix this.
Cheers CaptainCodeman...........legend!
When specifying the applicationName - it creates a separate collection for each applicationName.
eg. if the ApplicationName = "App1", then the collection name is automatically changed to "Elmah-App1", it doens't remain as just "Elmah".
There should be a way of overriding this default behaviour, so you can specify a ApplicationName, but still log to a collection of your choice. (ie also allow you to specify a CollectionName property in the <errorLog> Configuration settings)
So I was just splunking some of the data in mongo for some of the errors and noticed that the name value collection is serialized as just an array of arrays which seems about impossible to query off of in Mongo. I see that a couple of the checkins are around serializing the serverVariables. I don't need to splunk the data that much but the form it is in makes analyzing the data in mongo very difficult.
Please update or create a new version based on the new 2.0 driver.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.