cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with workflow expression and logging

Highlighted
Visitor

Need help with workflow expression and logging

Hi,

I am currently editing a workflow for a customer and I want to use log4j. The customer uses PDMLink 10 and I´ve defined the logger inside the workflow expression like that.

org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger("com.ps.test");

logger.info("Info from com.ps.test");

logger.debug("Debug from com.ps.test");

logger.error("Error from com.ps.test");

when initiat this process I can see the error message on stdout. But I am not able to get info and debug to show up. So I´ve created a configuration for this with the Log Levels tool inside the System Monitoring menu.

I´ve defined the server process method and servlegt engine and set the logger to com.ps.test. After that I´ve selected the level all and hit set.

But still no luck. I just want to be able to control the logger output from my workflow expression.

Any ideas, I am pretty sure I am missing something and I have not really found a good explanation on this...

Please help

Regards,

Patrick