win32evtlog.EvtClearLog

EvtClearLog(ChannelPath, TargetFilePath, Session, Flags)

Clears an event log and optionally exports events to an archive

Parameters

ChannelPath : str

Name of event log to be cleared

TargetFilePath=None : str

Name of file in which cleared events will be archived, or None

Session=None : PyEVT_HANDLE

Handle to a remote session (see win32evtlog::EvtOpenSession), or None for local machine.

Flags=0 : int

Reserved, use only 0

Comments

Accepts keyword args