The 'Log Event' action is used to log an event to the Windows Event Log. The event can be logged as information, warning or error.
NOTE: This action is not supported on Windows 95, 98, or ME.
From the Available Actions pane of the Task Builder, expand the System folder and double-click the 'Log Event' action or drag it onto the Steps pane. The action's properties window appears, as shown below:
In the Message field, enter the message to be logged. If you wish to enter an expression, you may click the Insert Expression/Variable button and use the Expression Builder to create the expression.
Under Message type, select whether the event is to be logged as Information, Warning, or Error.
To set the Description tab properties, please refer to Description Tab Options.
To set the Error Causes and On Error tab properties, please refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Log Event Action