Preparation
The output file of the "Execution log" defaults to $HULFTSCRIPT_HOME/server/logs/<date in yyyyMMdd format>/exec.log.
The output directory path changes according to the date it is created, so this is not suitable for monitoring with monitoring software.
The default "Execution Log" location can be changed to a directory at a fixed path.
Here is how this is modified.
-
File to be modified
-
$HULFTSCRIPT_HOME/server/conf/dslog.properties
-
Property to look for
-
execlog
-
Value to be assigned to the property
-
${EXECLOG_ERROR}
By defining the above, an additional "Execution Log" is output to $HULFTSCRIPT_HOME/server/logs/exec.log.
This output contains only the script execution error.