This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "where does java.util.logging go?" Watch "where does java.util.logging go?" New topic

where does java.util.logging go?

Michael Zellmann

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

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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
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