aspose file tools*
The moose likes Tomcat and the fly likes Per-Webapp logging with java.util.logging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Per-Webapp logging with java.util.logging" Watch "Per-Webapp logging with java.util.logging" New topic
Author

Per-Webapp logging with java.util.logging

Royal Tanenbaum
Greenhorn

Joined: Mar 15, 2010
Posts: 1
Following the instructions on this page I've put a logging.properties file in the WEB-INF/classes directory of my applicaiton but no logs are produced in my log directory, and I haven't noticed any sort of error in my catalina.out.

Any where I can look to figure out whats happening here?

My webapp logging.properties file:

handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = c:/logs
org.apache.juli.FileHandler.prefix = servlet-examples.

java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18991
    
    8

"Flavius", please check your private messages regarding an important administrative matter.

Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Per-Webapp logging with java.util.logging