This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Per-Webapp logging with java.util.logging Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply 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: 16487
    
    2

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

Thank you.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Per-Webapp logging with java.util.logging
 
Similar Threads
Define location of context logfile
On-going logging problems
tomcat webapp logging
slf4j logging issue - log file not getting generated
tomcat "logging.properties"