2011-06-28 00:59:29 utc |
kitplummer1 |
hey guys. |
2011-06-28 00:59:53 utc |
kitplummer1 |
wondering if there's an easy way to listen to engine events? |
2011-06-28 01:00:33 utc |
kitplummer1 |
i'm interested in workitem stuff, but on the engine side - specifically not in the process definition. |
2011-06-28 01:32:26 utc |
jmettraux |
kitplummer: hello, look for example at history |
2011-06-28 01:33:08 utc |
jmettraux |
it observes "msgs" |
2011-06-28 01:33:15 utc |
kitplummer |
jmettraux: thx. is 'history' in the docs, or code? |
2011-06-28 01:33:28 utc |
jmettraux |
code |
2011-06-28 01:34:17 utc |
jmettraux |
https://github.com/jmettraux/ruote/blob/master/lib/ruote/log/default_history.rb |
2011-06-28 01:34:58 utc |
kitplummer |
ight, thanks…notify might be what we're lookin for. ;) |
2011-06-28 01:35:22 utc |
jmettraux |
what are you trying to achieve ? |
2011-06-28 01:36:29 utc |
kitplummer |
instrumentation and to possibly generate events based on process lifecycles. |
2011-06-28 01:36:37 utc |
kitplummer |
(kinda thinking outloud here) |
2011-06-28 08:00:39 utc |
tosch_le_ |
jmettraux: hello! |
2011-06-28 08:09:46 utc |
_Taz_ |
hello |
2011-06-28 08:11:05 utc |
tosch_le_ |
hello _Taz_ |
2011-06-28 08:11:35 utc |
_Taz_ |
I have a question about the output given by the engine.noisy option |
2011-06-28 08:12:03 utc |
_Taz_ |
What does the red "te" means? |
2011-06-28 08:12:06 utc |
_Taz_ |
"5 68 te * 20110628-bojopenuke 62aa7 0 [...]" |
2011-06-28 08:13:07 utc |
tosch_le_ |
John'll have to answer that one, sorry |
2011-06-28 08:14:15 utc |
_Taz_ |
ok, thank you. |
2011-06-28 08:15:07 utc |
tosch_le_ |
i suppose he'll answer soon :-) |
2011-06-28 08:16:07 utc |
kschiess |
action = msg['action'][0, 2] ... Now you'll just have to find the message that starts with 'te' ;) |
2011-06-28 08:17:01 utc |
tosch_le_ |
read the f* code. thanks, kschiess! |
2011-06-28 08:17:30 utc |
tosch_le_ |
te = terminate? |
2011-06-28 08:17:31 utc |
kschiess |
Out of curiosity (and because I am still searching), what was that action? |
2011-06-28 08:17:37 utc |
kschiess |
probably? |
2011-06-28 08:17:57 utc |
kschiess |
Last time I used ruote... I had the logger output the whole action... |
2011-06-28 08:18:38 utc |
_Taz_ |
My guess is that "te" stands for "terminate", but I'd like to be sure. :) |
2011-06-28 08:18:50 utc |
kschiess |
I would want to be as well... |
2011-06-28 08:21:10 utc |
tosch_le_ |
there is a 'terminate' action: https://github.com/search?type=Code&language=&q=terminate+repo%3Ajmettraux%2Fruote&repo=&langOverride=&x=0&y=0&start_value=1 |
2011-06-28 08:21:33 utc |
tosch_le_ |
(did i mention i like github?) |
2011-06-28 08:24:20 utc |
_Taz_ |
Thanks again tosch :) |
2011-06-28 10:22:00 utc |
jmettraux |
yes, the red "te" stands for terminate |
2011-06-28 10:22:28 utc |
jmettraux |
tosch_le_: I'm back |
2011-06-28 12:33:25 utc |
jmettraux |
local participant simplification (hopefully) : http://groups.google.com/group/openwferu-users/browse_thread/thread/140b95cb693b8ed5 |