{"id":19522163,"url":"https://github.com/captaincodeman/elmah-mongodb","last_synced_at":"2025-07-08T12:39:49.449Z","repository":{"id":1535146,"uuid":"1829659","full_name":"CaptainCodeman/elmah-mongodb","owner":"CaptainCodeman","description":"MongoDB provider for Elmah","archived":false,"fork":false,"pushed_at":"2020-06-15T00:36:34.000Z","size":729,"stargazers_count":20,"open_issues_count":8,"forks_count":25,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T19:21:53.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.captaincodeman.com/2011/05/28/elmah-error-logging-official-10gen-mongodb-driver/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CaptainCodeman.png","metadata":{"files":{"readme":"readme.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-01T02:09:02.000Z","updated_at":"2021-12-09T18:33:09.000Z","dependencies_parsed_at":"2022-08-16T13:40:24.373Z","dependency_job_id":null,"html_url":"https://github.com/CaptainCodeman/elmah-mongodb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Felmah-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Felmah-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Felmah-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Felmah-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptainCodeman","download_url":"https://codeload.github.com/CaptainCodeman/elmah-mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250967220,"owners_count":21515563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T00:37:28.442Z","updated_at":"2025-04-26T09:32:04.932Z","avatar_url":"https://github.com/CaptainCodeman.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Elmah-MongoDB\n======================================================================\nSee: [Elmah Error Logging with MongoDB Official Driver](http://www.captaincodeman.com/2011/05/28/elmah-error-logging-official-10gen-mongodb-driver/)\n\n## Overview\n[ELMAH](http://code.google.com/p/elmah/) (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment.\n\nThis provider enables [MongoDB](http://www.mongodb.org/) to be used as the back-end storage via the [Official 10gen provider](http://www.mongodb.org/display/DOCS/CSharp+Language+Center).\n\n## Usage\nThe easiest way to add this to a project is via the [elmah.mongodb NuGET package](http://nuget.org/List/Packages/elmah.mongodb) which will add the required assemblies to your project.\n\nThe provider supports multiple per-application collections within a single database and will automatically create a MongoDB Capped Collection called 'Elmah' if the application name is not set or will use Elmah-ApplicationName if it is.\n\nThe size of the MongoDB collection can be controlled by setting the maxSize (bytes) and maxDocuments \nproperties. By default a 100mb collection is used (with no document limit).\n\n## Configuration\nHere is an example configuration:\n\n    \u003celmah\u003e\n      \u003cerrorLog type=\"Elmah.MongoErrorLog, Elmah.MongoDB\" connectionStringName=\"elmah-mongodb\" maxSize=\"10485760\" maxDocuments=\"10000\"/\u003e\n    \u003c/elmah\u003e\n    \u003cconnectionStrings\u003e\n      \u003cadd name=\"elmah-mongodb\" connectionString=\"mongodb://localhost/elmah?w=0\"/\u003e\n    \u003c/connectionStrings\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Felmah-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptaincodeman%2Felmah-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Felmah-mongodb/lists"}