Write to Log filesThis activity allows you append additional information in log files and categorize the appended data as debug message, error, warning or just an information. A log file stores events, messages and other communications logged during the execution. Instead of updating the log file manually, you can use the Write to Log file activity to write the additional execution data automatically in to the log file. It ensures that unwanted data is not written in the log file. Additionally, you can avoid any human error while making changes into the log file. Using Write to Log file Activity1. In the Canvas Tools pane, click Assign and Write to expand the tool and view the associated activities. 2. Drag the Write to Log file activity and drop on to the Flowchart designer on the Canvas.
3. In the Message to Log field, enter the message in double quotes to update in the application log file. 4. From the Level/ Severity drop down, select the required level. The level or severity defines the category and purpose of the message written in the log file. Available options are: · Debug · Information · Warning · Error A Write to Log file activity is created. The warning sign disappears once you provide the required inputs. Write to Log file PropertiesThe properties of Write to Log file activity are listed in the following table and can be edited in the Properties grid on the right pane.
|
Related Topics |