retrieve data from log database - logging application block

Topics: Logging Application Block
Jun 7, 2009 at 12:58 PM

can anyone route me how I can retrieve data from logging information from the database. I have a database that consists of logs that belongs to several categories. Now I need to create a report page. The main concern is that i have put some external properties, which I need to retrieve, what is the best way to do this?

Jun 8, 2009 at 8:59 AM


What you can do is just to query against your logging database. If you put your external properties using the "ExtendedProperties" property of the LogEntry class, you can retrieve the external properties in the [FormattedMessage] column.

Valiant Dudan
Global Technology & Solutions
Avande, Inc.