Log Message

<< Click to Display Table of Contents >>

Navigation:  Actions > RoboTask Commands >

Log Message

 

Records a message to the task's log. This action is a powerful tool for recording the results of actions when they occur in a log text file. This action is useful for system administrators who want to troubleshoot a process.

 

The log filename is based on the internal unique ID number of the task. Each task has an internal unique ID number and its filename is NNNNNNNN.tsk where NNNNNNNN is its ID number. The log file name is NNNNNNNN.log.

 

Important

You can set options for logging on the Advanced tab of the Add Task dialog box or the Edit Task dialog box.

 

RoboTaskLogMessage

 

Message Text

Enter the text that you want to appear in the message.

 

Message Type

Select a type, such as Information, Warning, etc. The type determines the style of log message:

Information - a blue text and "i" icon appears.

Warning - an olive text and "!" icon.

Error - a red text and "X" icon.

Neutral (user message) - black text without icon. This kind of message can't be hidden even if you specify "Nothing" in "Log Level" parameter of the task.

 

Variable

Allows you to add a variable to the action or triggering event that you selected. You must place the cursor in a edit box in the settings dialog window of the action or event and then click the {V} button.

 

note Related Topics

Minimize RoboTask

Restore RoboTask

Exit RoboTask

Enable Automation

Disable Automation

Restart RoboTask