Two more hopefully quick questions.
1. How do I control the verbosity of the logs, particularly
engine.log, history.log, worklist.log and webclient.log? It
looks like engine defaults to "DEBUG" using log4j parameters in
etc/engine/logging.xml , but history.log has entries that don't
appear to be log4j driven.
I'm assuming I would modify
<category name="openwfe.org">
<appender-ref ref="file" />
</category>
to include <priority-value="ERROR"> in the case the engine itself to reduce verbosity.
2. I'm trying to have a pyya apre agent decide whether the next
agent/participant in a sequence has more than N workitems and have it
wait before that agent's store drops below N. Is there a
way besides counting the headers from: workSession.getHeaders(storeName)
to determine how many work items an agent/store has? I see that
openwfe.rest.wlclient has a method called queryStore that appears to do
the above and apply regex(es) via the 'query' parameter passed to the
method. Finally is 'Store.query' the store that is prefered for
doing queries as it theoretically could contain information on all
workitems?
Thanks,
Tony
- [OpenWFE-users] Controlling logging and query mechanisms Anthony Bigbee
