Hi,

where does a task log to? I do not know where I find the logs that are written when starting / completing a task.

Thanks,
Stefan

mRoskosch

Thu, 05/03/2012 - 19:24

YAWL knows different types of logs. There is for once in the YAWL installation directory in the subfolder "engine\apache-tomcat-6.0.18\logs" the log data for the tomcat server as well as all YAWL services. Furthermore YAWL has it's own logging interface, that allows access to more detailed logs and those that can be defined in the editor.

Stefan Albracht

Wed, 05/23/2012 - 13:58

Okay, I see that now that this not easy to answer. To specify the question: I want to take a look at a value of a variable upon completion of a task. Say the task is "Task1" and the variable is of type boolean and named "bool1".
In the corresponding dialog "Log Predicate", what do I have to put in "On Output"? I tried "${Task1:attribute:text}". However, I didn't find any log messages or error.
Next question is: In which log file do I have to look for this particular log message?

mRoskosch

Thu, 05/24/2012 - 17:10

I asked myself the same questions once and was told to use the logging interface. The Javdoc for this can be seen here:

http://www.yawlfoundation.org/javadoc/yawl/org/yawlfoundation/yawl/engine/interfce/interfaceE/YLogGatewayClient.html

I can connect to the logging interface there, but I was not able to access the logs of the case, beause most functions return an error message.

I'm sorry I cannot help you further at the moment. Another way could be to use codelets for your own logging, if you are not able to find the logging information through the logging interface

 

Regards,

Markus

fmannhardt

Wed, 09/12/2012 - 09:21

Just to add a solution for other people also trying to get Logs out of YAWL. Since the 2.3 release of YAWL there is a Button "Download Log" in the Case Tab of the YAWL Control Center (/resourceService).

This allows you to download all log data in XES format.