Java Logging API problems

From: Simor (MSSimor_at_gmx.de)
Date: 11/23/04


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.



Relevant Pages

  • Re: ATI or Nvidia?
    ... I don't like too much having these proprietary drivers "tainting" my ... Usage: aticonfig... ... Parses an existing X-Server configuration file and modifies it to operate ...
    (comp.os.linux.hardware)
  • Re: Configuration data for a Windows Service
    ... The service will definitely use a configuration file for at least some of ... the pluggable objects itself is still on the table. ... If my hosting application was a standard Windows Forms ...
    (microsoft.public.dotnet.framework)
  • Re: [RFC] libcg: design and plans
    ... In general - cgroup is a very flexible subsystem that can be used in a wide variety of ways and modes and trying to create a universal simple API would more likely result in something hard to manage and work with. ... We have been working on a library for control groups which would provide ... Provide persistent configuration across reboots ... Similarly a configuration file will be ...
    (Linux-Kernel)
  • Re: An ssh Question
    ... Connecting to xxxxxxxxxxxxxx.com port 22. ... an ssh configuration problem - that is, the FreeBSD ssh client can't do ... # This is the ssh client system-wide configuration file. ...
    (freebsd-questions)
  • Re: Remote Web Workplace SBS 2003 Can No Longer Be Accessed: Server Error in /Remote Application
    ... Server Error in '/Remote' Application. ... configuration file required to service this request. ... Attempting download of new URL ...
    (microsoft.public.windows.server.sbs)