Scripting with logs
In this recipe, we will look into how logging works in scripting. You will learn how to create log entries and where they are stored.
Getting ready
We just need a working Orchestrator, and you will need the rights to create new workflows and run them. We will work with the Orchestrator Client.
Additionally, we need administrative (root) access to the Orchestrator's operating system.
How to do it...
We will split this recipe into two sections, Creating logs and Checking the log files.
Creating logs
We will now create log entries during a workflow:
Create a new workflow.
Drag all log elements from the Log section into the workflow and arrange them as shown here:
Create the following variables:
Name
Type
Section
Binds with
logText
String
IN
Transports error text
logObject
String
IN
Transports object text
Bind each log element with the required in-parameter.
Save and exit the workflow.
Run the workflow and enter two different phrases, such as LogText and LogObject...