Pros :
1. Easy to implement with few line of code
SPSite siteCollection = (SPSite)properties.Feature.Parent;
// turn on auditing flags
siteCollection.Audit.AuditFlags = SPAuditMaskType.Update;
siteCollection.Audit.Update();
2. Without writting addional code easy to pull following values
SiteId
ItemId
ItemType
UserId
MachineName
MachineIp
DocLocation
LocationType
Occurred
Event
EventName
EventSource
SourceName
EventData
Also sharepoint SPAudit providing provision to write customevent for spweb,spsite,splist where we can track additional
detail e.g. farmid
Cons:
1. No event is available for SPAudit so it is hard to capture event
2. Not able to track changes in sharepoint list view.
Recent Comments