[ODE Apache] logging

View: New views
2 Messages — Rating Filter:   Alert me  

[ODE Apache] logging

by Nazar Annagurban-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I was wondering if there is some sort of logging mechanism for bpel process
instances? For example by inserting logging statements in the bpel process
definition itself. This would be helpful in debugging, to see where the
process fails or exactly where faults were generated etc.

--
Nazar Annagurban

Re: [ODE Apache] logging

by Rafal Rusin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Currently, there's no such mechanism to log arbitrary expression into
one place. But I agree it would be useful. We need to figure out
something.
My idea is to add expression extension activity for ODE 2.X and add
ode:log-debug ode:log-info ... extension functions into saxon. Thos
functions would log using commons logging.
For ODE 1.X one could use switch statements to get to ode:log-*
functions, like this:
<if><condition>ode:log-debug('test')</condition><empty></if>
And for 1.X log-* functions would return true.

I'd like to know your (devs) opinions on that.

2009/11/2 Nazar Annagurban <nazartm@...>:

> Hi,
>
> I was wondering if there is some sort of logging mechanism for bpel process
> instances? For example by inserting logging statements in the bpel process
> definition itself. This would be helpful in debugging, to see where the
> process fails or exactly where faults were generated etc.
>
> --
> Nazar Annagurban
>


Regards,
--
RafaƂ Rusin
http://www.touk.pl
http://top.touk.pl
http://people.apache.org/~rr/