Output Log

Operation Name

Output Log

Function Overview

Output application log.

Properties

For details on use of variables, refer to “Variables”.
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Log output destination Required Not available Select a log output destination.
Log level Required Not available Select a log level.
  • [FATAL]:
  • [ERROR]:
  • [WARN]:
  • [INFO]: (default)
  • [DEBUG]:
  • “%p” set in [Layout] of “Application Log Output Settings” in the control panel will be replaced with the selected log level.
  • Logs will be output when the log level is equal to or higher than the one set in [Log level threshold] of “Application Log Output Settings” in the control panel.
  • Log set with this component will be output regardless of the log level setting of the script. You can set the log threshold for this component in [Log level threshold] of “Application Log Output Settings” in the control panel.
Message Optional Available Enter log message.
  • “%m” set in [Layout] of “Application Log Output Settings” in the control panel will be replaced with the entered message.
Details
Item name Required/Optional Use of variables Description Remarks
Category Optional Available Enter log category.
  • “%c” set in [Layout] of “Application Log Output Settings” in the control panel will be replaced with the entered category.
Comment
Item name Required/Optional Variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
message_category When an error occurs, the corresponding message code's category is stored.
  • Default value is null.
message_code When an error occurs, the corresponding message code is stored.
  • Default value is null.
message_level When an error occurs, the corresponding message code's severity is stored.
  • Default value is null.
error_type When an error occurs, the error type is stored.
  • Default value is null.
  • The error type will be in the following format.
    Example: “java.io.FileNotFoundException”
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_message When an error occurs, the error message is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_trace When an error occurs, the error's trace information is stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions and client applications.

Specification Limits

None.

Major Exceptions

Exception name Cause Solution
InvalidPropertyConfigurationException [Log output destination] is not specified. Specify [Log output destination].

Notes