Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where does java.util.logging go?

 
Michael Zellmann
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry if this is basic, but I have scoured for an answer, without any luck. I am running Tomcat 5,5 on my home development machine with Windows XP using Java 1.5_011. I have a relatively simple Servlet where I am trying to log some information. I can't see where the log goes. I have left everything "plain vanilla" no changes to config or properties files in Tomcat or the JRE. I have in the Servlet
private Logger logger = Logger.getLogger(SearchSelect.class.getName());

the later within the doPost I have
logger.info(input)

Everything runs, but I can't find the log anywhere.

In Tomcat 5.5/logs, I have logs for admin, catalina, host-manager, jakarta-service, localhost, manager, stderr, stdout - each with a suffix for the current date. Nothing shows up in any of them. I have also looked in my home directory - for any *.log file in Documents and Settings - but nothing there either.

What can I do about this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic