I want a good logger utility for my application.My application is multi threaded and the logger should not become a bottleneck in the application. I have log4j on one hand, but there is always the temptation to write my own logger class. My priorities are clear- easy debugging in a threaded mess and also good performance. Please help.
Log4J is thread-safe and fast. I really don't think a roll-your-own logging facility would improve upon Log4J. In fact, I think you'll be hard-pressed to even match Log4J in terms of performance and flexibility.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
There is no reason that I have not to choose log4j......In fact It is my first choice.... Just wanted to confirm my choice .... Thanks I will go for log4j