aspose file tools*
The moose likes Java in General and the fly likes JDK Logger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JDK Logger" Watch "JDK Logger" New topic
Author

JDK Logger

Balachandran Paranjothimani
Ranch Hand

Joined: Jun 18, 2005
Posts: 43
The JDK logger uses the logging.properties file in the JRE lib directory. However I would like to use my own logging.properties file as part of the application that uses Java Web Start. This config file will be part of the application jar file.

The usual way to specify the logging properties file is by using the -D parameter

-Djava.util.logging.config.file=logging.properties

How do I specify my own logging.properties file for Java Web Start? TIA.


Moderator : <a href="http://groups.yahoo.com/group/OOAD_UML/" target="_blank" rel="nofollow">http://groups.yahoo.com/group/OOAD_UML/</a><br />Home : <a href="http://www.zepho.com" target="_blank" rel="nofollow">http://www.zepho.com</a>
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
If you would check the JNLP forum, you'll this very discussion

http://www.coderanch.com/t/200751/JNLP-Web-Start/java/Passing-parameter-Web-UI-RCP


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDK Logger