About getting log predicates OR adding other new attribute to log

Hello,
I tried to use log predicates but the link (Java Command Line Program) in the below link showed me an error message.
http://www.yaug.org/content/extracting-yawl-log-entries-process-mining
How can I get log predicates in my log? Is there any tutorial that I can use to use YAWL API for that?