yawlfoundation / yawl

Yet Another Workflow Language
http://www.yawlfoundation.org
GNU Lesser General Public License v3.0
88 stars 35 forks source link

Enable logging in Engine / Standalone.jar #636

Closed Makeda21code closed 3 years ago

Makeda21code commented 3 years ago

Hi, created a new log4j Logger instance in org\yawlfoundation\yawl\logging\SpecHistory.java but I get no output in Console and Logfiles. I set log4j.rootLogger=TRACE, syslog in log4j.properties. I also tried System.out.println(). It seems like all log messages are suppressed. How can I enable them again?

yawlfoundation commented 3 years ago

Which version are you using? In later versions, the log4j configs are read from log4j2.xml

Makeda21code commented 3 years ago

yes, you are right. I thought engine logging runs in standalone.