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.