Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] cflowid generation and use

Hello all,

I'm working in a project that involves integrating some legacy j2ee application into a larger system. It's a requirement for this project (and for any project i would presume...) that logs should provide traceability via some unique identifier common to all the calls inside a call flow (containermanaged or not). The legacy part already uses log4j for logging, as will the new parts.

I've been away (maybe for too long) from aspectJ, and would appreciate if anyone could give me any hints on the ability of aspectJ to weave both the initial generation of the unique cflow id in the servlet layer and its use in all the log statements both in the new and (most important) legacy components. This is, as stated above a J2EE environment, containg both servlets, web service endpoints, ejbs and POJOs.

Any help would be higly appreciated.
Thanks.

_________________________________________________________________
COPA 2006: Enfeite o seu MSN Messenger de verde e amarelo! http://copa.br.msn.com/extra/emoticons/



Back to the top