You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Nazar Annagurban <na...@gmail.com> on 2009/11/02 12:47:02 UTC

[ODE Apache] logging

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

Posted by Rafal Rusin <ra...@gmail.com>.
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 <na...@gmail.com>:
> 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/

Re: [ODE Apache] logging

Posted by Rafal Rusin <ra...@gmail.com>.
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 <na...@gmail.com>:
> 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/