I have wrote this in my groovy script used for loop condition check:
import org.bonitasoft.engine.identity.CustomUserInfo;
import java.util.logging.Logger;
Logger logger = Logger.getLogger(“EscalationChecker”);
logger.info(“Start escalation check”);
…
But I didn’t see anything in the engine log file. Do I missed something?
Hi,
If you want to add a log without configuring anything, you can do this :
import java.util.logging.Logger;
Logger logger= Logger.getLogger(“org.bonitasoft”);
logger.severe(“This text is in the log”);
If you want a custom log, here is the doc :
http://documentation.bonitasoft.com/logging-overview
Hello,
most probably your logging level is by default set to the level that will not take .info in consideration. Try to change the class in the logger creation and to change your method to:
Logger logger = Logger.getLogger(“org.bonitasoft”);
logger.severe(“Start escalation check”)
Hope this helps,
Haris
Since i am using bonita 6.3, this piece of information is very useful to me. I have faced many difficulties while writing log to engine log file in groovy script. Surely i will try this method which you have mentioned here. best internet provider