This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Probably nowhere unless you define where to output the content.
For example, you can use the Jakarta's common-logging facility and tell where the output is going to be. For example, using SimpleLog will send all messages to System.err, which you can pick up in your container's output files. That doesn't sound very clear, does it ? You should read something about logging : http://jakarta.apache.org/commons/logging/guide.html