How to print custom connector's data into engine log

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

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

import java.util.logging.Logger;
Logger logger= Logger.getLogger(“org.bonitasoft”);
logger.severe(“Hello world”);

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