ILoggingServiceDeleteOldLogEntries Method

Deletes the old log entries or files before specified date.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void DeleteOldLogEntries(
	DateTime? beforeDate
)

Parameters

beforeDate
Type: SystemNullableDateTime
The date before which the old log entries are deleted.
Exceptions
ExceptionCondition
OperationFailedExceptionThe operation failed. Refer to inner exception for more details.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
If beforeDate is , the value will be based on the LoggingMaxLogEntryAge configuration setting. If the application is configured to log into database, log entries earlier than beforeDate will be deleted. If the application is configured to log into log files, files that were created before the beforeDate will be deleted.
See Also