Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

3.15.4 Log Library

The log library provides the following classes:

Article number/class name

3.15.4.1 Log Output

3.15.4.1 Log Output

Class Name

Swrba_Logger

List of Methods

Method

Description

Swrba_Logger new(String classname, String logfile)

It is a constructor of Swrba_Logger.

String info(String outData)

Output the specified text string to the log. The log level is "INFO".

String warn(String outData)

Output the specified text string to the log. The log level is "WARN ".

String error(String outData)

Output the specified text string to the log. The log level is "ERROR ".

Input Information

classname	Specify the label name of the log.
logfile	Specify the file name of the log.
outData	Specify the text string to output to the log.

Notes

The log file is made in the following places.

Windows

<Installation directory>\SWRBAM\etc\share\rbaope\work\log

Linux

/etc/opt/FJSVswrbam/share/rbaope/work/log

File Location

Windows

<Installation directory>\SWRBAM\rbaope\bin\parts\lib

\standard\swrba_logger.rb

Linux

/opt/FJSVswrbam/rbaope/bin/parts/lib/standard/swrba_logger.rb