Java Logging API problems
From: Simor (MSSimor_at_gmx.de)
Date: 11/23/04
- Next message: Robert Klemme: "Re: Java Logging API problems"
- Previous message: Yitzak: "Re: Why the Podunk County School will never be using Java and will probably never leave VB"
- Next in thread: Robert Klemme: "Re: Java Logging API problems"
- Reply: Robert Klemme: "Re: Java Logging API problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Nov 2004 09:23:40 -0800
Hi,
i try to use the java logging api in my project. But there is a
problem, maybe somebody can help me:
I don't want the standard configuration for the logger from the
/lib/logging.properties. I want the LogManger to read and follow my
own configuration file. So i set the java propertie
"java.util.logging.config.file", like this:
System.setProperty("java.util.logging.config.file",System.getProperty("user.dir")
+ System.getProperty("file.seperator") + "customproperties");
before i create my LogManager like this:
LM = LogManager.getLogManager();
But it doesn't work. If got no errormsg, but changes in the
configuration file doesn't have any effect on application logging
behavior.
THX
Simor
P.S. I use eclipse 3.1 M2.
- Next message: Robert Klemme: "Re: Java Logging API problems"
- Previous message: Yitzak: "Re: Why the Podunk County School will never be using Java and will probably never leave VB"
- Next in thread: Robert Klemme: "Re: Java Logging API problems"
- Reply: Robert Klemme: "Re: Java Logging API problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|