Output Log

Operation Name

Output Log

Function overview

Output application log.

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of Variables Description Remarks
Name Required Not available Enter the name on the script canvas.  
Required settings
Item name Required/Optional Use of Variables Description Remarks
Log output destination Required Not available Select output of log.
Log level Required Not available Select log level.
  • [FATAL]:
  • [ERROR]:
  • [WARN]:
  • [INFO]:(default)
  • [DEBUG]:
  • [%p],which was set at [Layout] in "Application Log Output Settings" of Control Panel, is converted to input log level.
  • Log will be output if the log level is th same as or higher than the "Log level threshold" in "Application Log Output Settings" of Control Panel.
  • Log set in this component will be output and does not depend on the setting of log level of script.Log threshold in this component can be set in "Log level threshold" in "Application Log Output Settings" of Control Panel.
Message Optional Available Enter log message.
  • [%m],which was set at [Layout] in "Application Log Output Destination Settings" of Control Panel, is converted to input log level.
Details
Item name Required/Optional Use of Variables Description Remarks
Category Optional Available Enter log message.
  • [%c], which was set at "Layout" in "Application Log Output Settings" of Control Panel, is converted to input log level.
Comment
Item name Required / Optional Use of 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 Stroes the category to which corresponding message code belongs to, when an error occurs.
  • The value defaults to null.
message_code Stores its corresponding message code of occured error.
  • The value defaults to null.
message_level Stores the severity of the corresponding message code of the occured error.
  • The value defaults to null.
error_type Stores the type of the occured error.
  • The value defaults to null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The message may vary depending on DataSpider Servista version.
error_message Stores the error message for the occured error.
  • The value defaults to null.
  • The message may vary depending on DataSpider Servista version.
error_trace Stores stack trace of the occurred error.
  • The value defaults to null.
  • The message may vary depending on DataSpider Servista version or the client application used.

Specification Limits

None.

Main exceptions

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

Notes