cancel
Showing results for 
Search instead for 
Did you mean: 

Change log level while calling froma standalone Java program

jsilva
Champ in-the-making
Champ in-the-making
Hey, everyone.

I've seen numerous mentions of logging.properties, for when Activiti is running on Tomcat. Can I change the logging level when running Activiti from a standalone Java program? I've tried following the instructions here, except with the level set to "DEBUG". I've tried to put logging.properties both in my project root, and in src/main/resources, but I still only get "INFO" logs. How can I solve this problem?
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
Which version of Activiti? Because we're using SLF4J since 5.12, see http://activiti.org/userguide/index.html#loggingConfiguration

jsilva
Champ in-the-making
Champ in-the-making
It was 5.12. I've solved my issue, now. It was my first experience with slf4j, so I didn't know that you'd have to configure the actual logging library that you're using with it.

jbarrez
Star Contributor
Star Contributor
Yes indeed: that's the purpose of slf4j, we write against the slf4j api, but anyone can configure it to run through their own logging system.