Rank: Member
Joined: 8/20/2008(UTC) Posts: 81 Thanks: 2 times
|
What is the best way to clear out a huge Audit log? I get a
The wait operation timed out Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: The wait operation timed out
Source Error:
Line 67: Line 68: Private Sub ClearEventsButton_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ClearEventsButton.Click Line 69: AuditLog.ClearOldEntries() Line 70: AuditLog.LogEvent(BVSoftware.Commerce.Metrics.AuditLogSourceModule.System, _ Line 71: BVSoftware.Commerce.Metrics.AuditLogEntrySeverity.Information, _ |
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
You can manually run the bvc_Audit_d stored procedure in the database to clear out entries older than 1 year. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 8/20/2008(UTC) Posts: 81 Thanks: 2 times
|
That did the trick. Thanks! |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.