Log4J thread safe for Java 5
I'm experiencing a strange problem with Log4J. I have a multi-user web application (written with Java 5) and I use Log4J to trace user activities. But it seems that sometime traces don't belong to the right user!
I suppose that the problem depends from Log4J and from its not correct thread safe management.
Someone told me that Log4J is not suitable with Java 5, because Java 1.4 and Java 5 manage threads in a different way.
Is this opinion correct?
What could I do to check this problem?
Thank you in advance!