Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] AOP With Weblogic

Hi,
We have a need to measure API Execution time for an Application deployed on Weblogic 10.3.6 server.

Need is to print a report as in following line in a log report:

API org.foo.bar.createObject(String, List) took 20 ms to execute.
..
..

I have done the similar implementation with AspectJ AOP on a JUnit framework, and is working as expected. All I had to do was put the Aspect Class file with advice to measure exec time in CLASSPATH and mention Java Agent at the run time to achieve this LTW.

Now, when I started exploring Server side, Weblogic provides many options like WLDF, Flight Recorder , Diagnostics and Monitoring controls throug UI  etc. 
Though they spit out very sophisticated information, I could not figureout how to print a log as I needed above. 

Appreciate any pointers on how to print API execution time for a given package/class deployed on a Weblogic Server domain.

Thanks
Vivek



--
---------------------------------------------------
From: Vivek A. Kulkarni
---------------------------------------------------

Back to the top