Would there be a simpler way of enabling automatic logging across entire application so that I do not have to modify all of my classes and JSP pages?
Sounds like the textbook use case for aspect oriented programming. Logging is about the only thing they all talk about!
But realistically, I'm with Eddie -- what logging can you really apply consistently and automatically in a way that is more useful than noisy? If you have a bunch of fairly repetitive stuff spit out, then finding the real information is fairly tedious.
On the other hand, I don't find it all that burdensome to establish a static log instance for each class and toss around a few log.debug(...) lines, especially when I'm working on figuring out someone elses ill-documented code!
Unfortunately, I don't know a whole lot about AOP, but there has been plenty written about it in the last couple of years if you decide to look further.
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex