August 17, 2023

cLog – Docs for ESB 5.x

cLog

clog_icon32_white.png

cLog properties

Component Family

Miscellaneous

Function

cLog logs message exchanges to
the underlying logging mechanism. Apache Camel provides the regular
logger and the throughput logger. The default logger logs every
exchange. The throughput logger logs exchanges on a group basis. By
default regular logging is used.

Purpose

cLog is used to log message
exchanges.

 

Logging Category

Enter the name of the logging category to use.

  Level Select a logging level from DEBUG, ERROR, INFO, OFF,
TRACE, or WARN.
 

Use default output log message

Select this option to use the default output log message provided
by the underlying logging mechanism.

 

Options / None

(For default output log message only)

Select this option to take no action on the log
message.
 

Options / Specifies a group size for
throughput logging

(For default output log message only)

Select this option to use throughput logging and specify a group
size for the throughput logging.

Size: Enter an integer that
specifies a group size for throughput logging.

 

Options / Group message stats by time
interval (in millis)

(For default output log message only)

Select this option to use throughput logging and group message
statistics.

Interval: Specify the time
interval (in milliseconds) by which the message statistics will be
grouped.

Delay: Set the initial delay (in
milliseconds) for message statistics.

 

Options / Format the log output

(For default output log message only)

Select this option to format the log output. Click
[+] as many times as required to
add arguments to the table. Then click the corresponding value field and enter a value. See the site
http://camel.apache.org/log.html for available
options.
 

Specify output log message

Select this option to specify the output log message.

Message: Use Simple language to
construct a dynamic message which gets logged.

Usage

cLog is used as a middle or end
component in a Route.

Limitation

 n/a

Related scenario:

For a related scenario, see Scenario: Routing messages according to a criterion.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x