Please enable JavaScript to view this site.

InterFormNG2 Manual

The advanced, other workflow component, Custom log message can be used for adding a user defined log message into the job log of the current workflow. This can e.g. be used in order to report an issue to the job log (so that the relevant user and see the problem). This problem can e.g. be that the validation of an input file has failed.

 

The Custom log message component has these parameters:

 

NG2CustomLogMessage001

 

 

Custom log message

The custom log message can be a fixed text like above, but it can also be set via an Xpath expression so that the message can include dynamic information about the issue found.

 

Level

Here you can set the level/severity of the log message. The level can be set to a fixed value, but it can also be set via an Xpath expression.

Possible values are:

 

TRACE

DEBUG

INFO

WARN

ERROR

FATAL

 

The severity of the error is reflected in the color used in the job log of this component and the color of the job log entry:

 

Log messages of type: TRACE, DEBUG are prented in a normal grey color, but these log messages are normally not shown in the job log. You can only see them if debug or trace has been activated on the machine. This can be changed with the application property:

logging.level.com.interform400.joblog.JobLogger=TRACE

But note that this can generate extreme amounts of job log lines.

 

Logo message of type INFO are presented in a normal grey color.

 

Log messages of type WARN are presented in orange.

 

Log messages of type ERROR and FATAL are presented in red.

 

Please notice, that the workflow will continue to run - even if you insert a FATAL log message. If you also want to stop processing, then you can consider to also insert the component, error.