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
)
Sub DeleteOldLogEntries (
beforeDate As DateTime?
)
void DeleteOldLogEntries(
Nullable<DateTime> beforeDate
)
abstract DeleteOldLogEntries :
beforeDate : Nullable<DateTime> -> unit
Parameters
- beforeDate
- Type: SystemNullableDateTime
The date before which the old log entries are deleted.
Exceptions 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