How to use slf4j inside script task?

Solution Verified - Updated -


Are there any examples on how to use log4j or slf4j inside a Script Task? Currently System.out.println() statements are being used for debugging, ideally, they should be replaced by standard logger API.


  • Red Hat JBoss BPM Suite, BRMS
    • 5.3.x
    • 6
  • Red Hat Process Automation Manager
    • 7
  • Red Hat Decision Manager
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In