cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Engine debugging logs

yosu
Champ in-the-making
Champ in-the-making
Hi,
I apologize if this question has been posted before, but i still haven't found the answer searching in the forum.
I wonder how to activate Activiti Engine debug logs to inspect what is going on within it when something goes as unexpected with my processes.
I found a tomcat logging.properties in %activiti_dir%/setup/files/tomcat/, but even lowering the log level from FINE to FINEST, i don't get any debugging logs in catalina.out, excepting exceptions when they are risen. So wonder how to configure Activiti Engine logging. I guess an alternative could be running Activiti Engine in Tomcat on debug mode connecting from Eclipse, attaching the source code.
Thank you very much in advance.
Yosu
2 REPLIES 2

chris_joelly
Champ in-the-making
Champ in-the-making
Hi,

i managed to get debug messages of Activiti by setting the following in the
logging.properties Glasfish uses:

org.activiti.level=FINE

Are u sure that your Tomcat uses this logging.properties file?
I think it should be provided in some cataina.[sh|bat] or startup.[.sh|bat]
file?

If still no success, u can set this line into the JRE/JDK logging.properties
which should reside within the dir tree of the Java environment u use.

hth,

Chris

yosu
Champ in-the-making
Champ in-the-making
Hi Chris,
thanks a lot for your answer.
My configuration is exactly the same like you describe. Indeed i get some Activiti logs in catalina.out, but no one when i execute any of the the demo processes. Examples of logs i get are:

    22-Aug-2011 11:20:38 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
    INFO: Processing resource org/activiti/examples/taskforms/VacationRequest.bpmn20.xml
    22-Aug-2011 11:20:38 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
    INFO: XMLSchema currently not supported as typeLanguage
    22-Aug-2011 11:20:38 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
    INFO: XPath currently not supported as expressionLanguage
    22-Aug-2011 11:20:38 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
Btw, i also get this warning, but unsure whether they may affect activiti logging:
Best,
Yosu