Versions Compared

Key

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

This task writes data to the log.

Image Added

Trace settings

Description

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

JSON key: description
Default value: Blank

Logger name

Enter the name of the logger to log to.

JSON key: logger
Default value: Blank

Level

Select the level (DEBUG, INFO, WARNING or ERROR to log with.

JSON key: level
Default value: INFO

Input

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

JSON key: input
Default value: None

JSON Configuration

Below is a set of example configuration.

Code Block
{
  "input": "%{REQUEST_BODY}",
  "level": "INFO",
  "logger": "request.input",
  "description": "log input",
  "class": "io.ceptor.pipeline.tasks.LogTask"
}