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

Per-Webapp logging with java.util.logging

 
Royal Tanenbaum
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21149
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Flavius", please check your private messages regarding an important administrative matter.

Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic