HerrKater / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Support Logging to Azure Table Storage #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
Add support for logging to Azure Table Storage

What goal would this enhancement help you achieve?
Ability to use ELMAH with Windows Azure + Table Storage.

Original issue reported on code.google.com by pbsbac...@gmail.com on 27 May 2009 at 1:30

GoogleCodeExporter commented 9 years ago
That would be quite handy indeed. We are considering implementing such a feature
ourselves for Lokad.Cloud.

Original comment by joannes.vermorel on 13 Sep 2009 at 3:52

GoogleCodeExporter commented 9 years ago
Did you implement logging to table storage?  If so, could you share the source 
or
contribute it to the Elmah project SVN?

Original comment by pbsbac...@gmail.com on 11 Nov 2009 at 8:59

GoogleCodeExporter commented 9 years ago
Sorry, we did produce a hasty implementation not compatible with ELMAH based on 
blob
storage. Microsoft will unveil a new native logging system for Azure in 1 week 
from
now at PDC. It will hopefully clarify the situation.

Original comment by joannes.vermorel on 11 Nov 2009 at 9:02

GoogleCodeExporter commented 9 years ago
There is a Nuget package submitted by Wade Wegner that enables ELMAH to log 
into Azure Table Storage: http://nuget.org/packages/WindowsAzure.ELMAH.Tables

Here is more info about it: 
http://www.wadewegner.com/2011/08/using-elmah-in-windows-azure-with-table-storag
e/

It would be nice to have this out-of-the-box, with ELMAH.

Original comment by carlos.s...@gmail.com on 11 Feb 2013 at 1:42

GoogleCodeExporter commented 9 years ago
I have my own implementation, which is based on Wade Wegner's but fixes a few 
issues with that code (key collisions, table row size limits). My plan is to 
develop this into a more robust library. This will probably be hosted on github 
for starters.

Original comment by wild.pei...@gmail.com on 5 Jun 2013 at 7:51

GoogleCodeExporter commented 9 years ago
Here's my project: 

https://www.nuget.org/packages/Elmah.AzureTableStorage/
https://github.com/MisinformedDNA/Elmah.AzureTableStorage

If you like it, we could certainly integrate it into the core project.

NOTE 1: Due to SDK changes, Wade's version no longer works.

NOTE 2: It is not possible to get the correct total number of Elmah records 
without retrieving every record and then counting them. This would be highly 
inefficient. Instead, if the max number of records are displayed, then it adds 
one so that the user knows to look to the next page for more records. See 
GetErrors() in 
https://github.com/MisinformedDNA/Elmah.AzureTableStorage/blob/master/src/Elmah.
AzureTableStorage/AzureTableStorageErrorLog.cs

Original comment by dfried...@dragondoor.com on 10 Dec 2013 at 7:13