While testing this module, identified that some of the configurations does
not work appropriately..

  <aspects>
        <!-- Uncomment either of these two aspects to perform standard
logging -->
        <!-- or standard tracing on the Tuscany
runtime.                       -->
        <!-- <aspect
name="org.apache.tuscany.sca.aspectj.SimpleTracingAspect" /> -->
        <!-- <aspect name="org.apache.tuscany.sca.aspectj.LoggingAspect" />
-->

        <!-- Following is a concrete-aspect that defines the point cut for
-->
        <!-- the TimingAspect. Which ever calls you define in this pointcut
-->
        <!-- will be timed and displayed in the logs.
-->
        <concrete-aspect
name="org.apache.tuscany.sca.aspectj.UserTimingAspect"
           extends="org.apache.tuscany.sca.aspectj.TimingAspect"
           precedence="org.apache.tuscany.sca.aspectj.UserTimingAspect, *">
           <pointcut name="timedCall"
              expression="call(* java.util.logging.Logger.info(..))"/>
        </concrete-aspect>
    </aspects>

The SimpleTracingAspect and LoggingAspect works fine.

The TimingAspect does not seem to work appropriately, as the
org.apache.tuscany.sca.aspectj.UserTimingAspect
class seems to be missing from the source.

Just learning on how the TimingAspect works in general to fix the issue
here.


On Tue, Jan 19, 2010 at 12:30 PM, Ramkumar R <[email protected]> wrote:

> Thanks Luciano, for the link, that helps to understand the purpose of this
> module in detail.
>
> Let me use this information to test them against 2.x code base and do
> necessary
> changes if required.
>
>
> On Mon, Jan 18, 2010 at 11:49 PM, Luciano Resende <[email protected]>wrote:
>
>> On Mon, Jan 18, 2010 at 2:04 AM, Simon Laws <[email protected]>
>> wrote:
>> > Thanks Ram
>> >
>> > And docs on how to use it?
>> >
>> > Simon
>> >
>>
>> Is this what you are looking for ?
>>
>>
>> http://cwiki.apache.org/confluence/display/TUSCANY/Logging,+Tracing,+and+Timing+in+Tuscany
>>
>>
>> --
>> Luciano Resende
>> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
>> http://lresende.blogspot.com/
>>
>
>
>
> --
> Thanks & Regards,
> Ramkumar Ramalingam
>



-- 
Thanks & Regards,
Ramkumar Ramalingam

Reply via email to