Task - Write to Transaction Log

This task writes data to the transaction log.

Log to Transaction Log settings

Description

Contains a description of the task, enter the reason for its existence here.

JSON key: description
Default value: Blank

Context

Enter the name of the context

JSON key: context
Default value: Blank

Input

Enter the input here - see Scripts and Macros for details on how to specify macro content.

JSON key: input
Default value: None

The log is sent to the authentication plugin in the session controller for that authenticated the current user, so the plugin decides where the log in reality is written to - this could be a database, or simply a log file.

JSON Configuration

Below is an example configuration.

{
  "input": "Transfer %{query:amount} from account %{query:fromaccount} to %{query:toaccount}",
  "context": "banking",
  "description": "log to transaction log",
  "class": "io.ceptor.pipeline.tasks.LogTransactionLogTask"
}


© Ceptor ApS. All Rights Reserved.