I’ve written some code for SharePoint 2010 (is also possible to make work with SharePoint 2007) that allows users to view audit information relating to site, list and individual items.
I’ve also added the code to Codeplex, which you can download by clicking this link. The code in the project should be straight forward enough to follow and understand.
Basically, the project comprises of some layout pages which reuse a configurable user control to display auditing information within a paged grid control. Access to these pages is either via the edit control block (ECB) context menu or the ribbon interface.
Once deployed, activate the Item Level Auditing web feature.
In the ribbon for a library:
In the ribbon for a list item:
and in the ECB for a list item:
As an example, clicking the menu item while on a list item, the following audit information page is loaded:
The contents of the output are cached, which is all configurable through the AuditLogView user control. The columns that are displayed for each audit type (site, list or item) are also configurable by editing the corresponding class.