when error happen, I found it’s hard to track problems in a big and mixed(session) log file ?
So, I want to create a log file for every user, but i am afraid If I do so will have a great impact on performance.
there are 1000+ users, the max numbers of users online since now is below 100
sorry for my english, I hope you guys can understand what I’m talking about…
You can do this pretty easily using Logback’s MDC or Log4j’s MDC. Don’t worry, this shouldn’t impact performance.