Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

JADE YADE comes with a number of optional logging and event-triggered notification features.

Logging

JADE YADE uses standardized log files with a structured and configurable format. This allows detailed logging of all characteristics of a file transfer, e.g. renaming of files, transfer duration, resolution of host names for source systems and target systems.

Notifications

JADE YADE can be configured to send e-mail notifications to one or more recipients when specific file handling events such as file transfer ends in error occur.

Logging Settings

JADE YADE uses the log4j framework and logs to two locations:

  • stdout using the relatively compact rootLogger and
  • a file using the more detailed reportLogger.
    • The location of this file is specified in the LogFile configuration element.
    • The default location for this file is the JADE YADE logs directory.

These default logging settings themselves are specified in a log4j.properties file, whose location is specified using the Log4JPropertyFile configuration element. The default location of this log4j.properties file is the bin directory of the JADE installation.

The detail of logging is specified using the DebugLevel element - the default level is info - more detailed levels can be specified if required.

In addition, JADE YADE can use the Apache Commons FTP Client to receive detailed information about transfers carried out using FTP. This information is activated using the ProtocolCommandListener element.

Logging configuration

Logging is specified in the JADE YADE XML hierarchy in the General branch of the configuration, which is used to specify parameters that are not related with specific file transfer operations.

...

All logging parameters are optional and covered by default settings.

Further information about logging

More detailed information about the JADE YADE logging settings can be found in the YADE Parameter Reference - Logging article.

Notifications

JADE YADE can be configured to send notifications to one or more recipients according to file transfer events.

E-mails are sent using the Java mail client, which is a part of the Java Runtime Environment and thereby a requirement for the installation of JADEYADE.

Mails are sent by activating NotificationFragments containing the e-mail configuration .

Specifying Notifications

Notifications are operation-independent and therefor transfer protocol-independent. They are specified in the JADE YADE XML hierarchy as descendants of Profile elements and siblings of the Operation element as shown below:

...

As can be seen in the diagram above, the configuration of mail notification fragments follows the same principles as used for file transfer protocol fragments: one or more NotificationFragments are defined in the Fragments branch of the configuration and these are called as required by corresponding NotificationFragmentRef elements in the file transfer profile. The NotificationFragmentRef elements are activated by the events defined for the NotificationTriggers child elements (OnSuccess etc.).

Further information about notifications

More detailed information about the JADE YADE notifications settings can be found in the YADE Parameter Reference - Notifications article.

See also

The JADE YADE BackgroundService, which collects the transfer history and log files from a number of JADE YADE Clients and adds this information to a transfer history database.

...