Setting sysloglocal on UNIX

About this task

If you set sysloglocal in the local options file to a positive number, HCL Workload Automation's control processes send their console and prompt messages to the syslog daemon. Setting it to -1 turns this feature off. If you set it to a positive number to enable system logging, you must also set the local option stdlistwidth to 0, or a negative number.

HCL Workload Automation's console messages correspond to the following syslog levels:

LOG_ERR
Error messages such as control process abends and file system errors.
LOG_WARNING
Warning messages such as link errors and stuck job streams.
LOG_NOTICE
Special messages such as prompts and tellops.
LOG_INFO
Informative messages such as job launches and job and Job Scheduler state changes.

Setting sysloglocal to a positive number defines the syslog facility used by HCL Workload Automation. For example, specifying 4 tells HCL Workload Automationto use the local facility LOCAL4. After doing this, you must make the appropriate entries in the /etc/syslog.conf file, and reconfigure the syslog daemon. To use LOCAL4 and have the HCL Workload Automation messages sent to the system console, enter the following line in /etc/syslog.conf:

local4    /dev/console

To have the HCL Workload Automation error messages sent to the maestro and root users, enter the following command:

local4.err    maestro,root

The selector and action fields must be separated by at least one tab. After modifying /etc/syslog.conf, you can configure the syslog daemon by entering the following command:

kill -HUP `cat /etc/syslog.pid`