Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to weave the method calls inside an war file?

I have few questions on this specific task; Now I have written by monitoring
logic in the aspectj. It works so smoothly and tested in tomcat and other
servers as well. 

I was wondering, if this can be done as well:

1. The logging gets started when I turn on few params on my aspectj jar,
which starts logging. 
2. So if possible, when it logs, can I make it to log according to each
thread level? 

What I was thinking over here is this, I will start my logging param in
aspectj, so imagine, when two users access the webpage in the server, now I
want the trace should be completely isolated from each of the request. I
know HTTP doesn't have states, we can do this in sort of attaching some
"sessionID" to each trace, and then do a batch operation for getting the
result of each thread; so that trace "flow" is perfect. 

I just want to know if there are any other ways of doing this?

Your thoughts will be really helpful to me. 



--
View this message in context: http://aspectj.2085585.n4.nabble.com/How-to-weave-the-method-calls-inside-an-war-file-tp4651913p4651968.html
Sent from the AspectJ - users mailing list archive at Nabble.com.


Back to the top