Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set up Config File for Logging in JDK 1.4

Status
Not open for further replies.

AdamRice32

Programmer
Dec 31, 2001
38
0
0
US
Hi All,

Does anyone have experience setting up a configuration file for a logging mechanism implemented using JDK1.4? Sadly, the API documentation says little to nothing about how to set up the config file.

What I'm basically trying to do is to set up a default logging level (say WARNING) for all packages/loggers. On top of this I'd like to set up explicit levels for individual packages. This doesn't seem like an overly difficult task, but if someone could lend a hand, it would be much appreciated.

I've tried the following setup in my logging.properties file and have been unsuccessful thus far:
Code:
# global logging level
global.level=WARNING

# individual package levels
com.nervewire.arice.util.level=INFO
com.nervewire.arice.gui.level=INFO
Thanks in advance,
Adam Rice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top