wood burning stoves 2.0*
The moose likes Tomcat and the fly likes where does java.util.logging go? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "where does java.util.logging go?" Watch "where does java.util.logging go?" New topic
Author

where does java.util.logging go?

Michael Zellmann
Greenhorn

Joined: Dec 17, 2004
Posts: 18
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?
 
 
subject: where does java.util.logging go?
 
Similar Threads
need help with first time setup of log4j
log4j works with stdout, nothing appears in a log file..
I did a search, but apparently this has never happened before:
Cannot log into UNIX Syslog with log4j
tomcat catalina.out does not created