Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0custom log reportingcustom log reporting
Previous
 
Next
New Post
3/13/2006 4:31 PM
 

Hi everyone,

Is there anyone in the DNN community who had to write custom event-log reports for their portals?  While the DNN Log viewer module is a great tool, my boss wants me to take it a step further and write event-log reports where users can filter/group/sort at the property level (i.e. the .LogProperties() collections for each log entry) It appears that the log viewer module filters only by event type (and understandably so, given the dynamic nature of custom log properties - it doesn't make any sence to filter by log property).

I'm thinking of flattening the loginfo fields and custom props into a datatable e.g.
logGuid,  logUserID, logCreateDate, logType, prop1, prop2, prop3, prop4.......propN

From there I can easily bind the datatable to a datagrid or even pass it to reporting engine such as crystal or ActiveReports (any reporting product that supports datatable binding) where I can write specific reports for each log type.

It doesn't seem like a lot of work. I wrote some prototype code that I'll think will handle this. I'm just curious what others in the community have done if they were asked to write similar event-log reporting functionality.

In a future release it would be useful if the logging api could capture not just name/value pairs, but the datatype declaration of each property (it appears that the logging API stores and retrieves props as strings - which is a problem if any numerical/date sorting/filtering is needed).

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0custom log reportingcustom log reporting


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out