Reputation: 718
I am using IBM Integration Toolkit in order to implement a WMB msgflow. Can logging be done from within this node or do I need to use an additional Java compute node for this purpose? Any references would be helpful.
Upvotes: 2
Views: 3295
Reputation: 21
Here are the steps:
Upvotes: 1
Reputation: 703
You can use a built-in node which is "Trace node", write the records to the user trace file, another file, or the local error log (which contains error and information messages written by all other IBM® Integration Bus components).
example: To use logging response time
Upvotes: 1
Reputation: 353
The only one way I am aware of implementing such functionality is by adding SLF4J
(or any other logging java framework of your preference) to IIB Runtime classpath and then write LOGGER.log() in the Java Compute nodes exactly in the same way you would have done it in plain Java. You can also create static wrappers on your log()
methods so they can be called from ESQL Compute nodes.
Upvotes: 1