How to print custom connector's data into engine log

1
0
-1

hello , i m total new in this environment . i try to make one connector which just print hello word . but system.out.println not working .

so how can i print hello word on that engine log on finish task

Pl help thanks in advance

Jalpa

1 answer

1
+4
-1

You can use Logger : http://documentation.bonitasoft.com/logging-overview

  1. import java.util.logging.Logger;
  2. Logger logger= Logger.getLogger("org.bonitasoft");
  3. logger.severe("Hello world");

Comments

Submitted by Sean McP on Wed, 08/13/2014 - 09:46

This works for both Groovy scripts and Java Connectors.

Note that I've submitted a change request to update the documentation link here as the examples don't work.

regards

Notifications