ModifyOverflowPolicy

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TEventLog > Methods >

ModifyOverflowPolicy

Previous pageReturn to chapter overviewNext page

Changes the configured behavior for writing new entries when the event log reaches its maximum file size.

 

action - The overflow behavior for writing new entries to the event log.

retentionDays - The minimum number of days each event log entry is retained. This parameter is used only if action is set to OverwriteOlder.

 

ModifyOverflowPolicy           PROCEDURE(OverflowActionEnum action, LONG retentionDays), BOOL, PROC