Question

The Exception Handling Application Block enables me to log exception information using the Logging Application Block. There a listeners for database, windows eventlog, msmq, etc... but there is no listener available to log the exception into the azure table storage.

I could configure the LoggingHandler to log into the eventlog and use the DiagnosticMonitor to transfer my logs into the table storage every 1 minute. But this sounds awkward to me.

Do I have to write a custom logging handler which logs to the Azure table storage for myself? Or did I missed something?

Was it helpful?

Solution

I took a look at the patterns & practices – Enterprise Library official web site (https://entlib.codeplex.com/wikipage?title=EntLib6ReleaseNotes) and I could not find a way to this with EHAB.

Maybe you need switch to Semantic Logging Application Block (SLAB). This one gives you the ability to persist in windows azure tables and others data sources too:

http://convective.wordpress.com/2013/08/12/semantic-logging-application-block-slab/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top