Task - Write to Log
This task writes data to the log.
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.
{ "input": "%{REQUEST_BODY}", "level": "INFO", "logger": "request.input", "description": "log input", "class": "io.ceptor.pipeline.tasks.LogTask" }
© Ceptor ApS. All Rights Reserved.