Hi

I am in the stage of implementing logging in my struts application. I
have been reading online but have some questions unanswered.

1. Action class should be thread-safe. Therefore no static variable, I
should just use a non-static variable to hold my logger?

2. In a multi-user web application, how can I keep logs from the same
class (same execution thread or same user request) stays together? I
envision them to be all messy in the log file when there's multiple user
requesting for the same action class.

3. About the thread safe issue with Actin class, that doesn't apply to
the other classes that action execute right? Those are treated as normal
java files.

Thanks

Sebastian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to