wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes Java Web Start and JDK Logger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Java Web Start and JDK Logger " Watch "Java Web Start and JDK Logger " New topic

Java Web Start and 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


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>
Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182

Try to add the "java.util.logging.config.file" system property which points to your own logging configuration file. Your configuration file could be packed inside some of the downloaded jars.

Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182
Hi again,

The system properties are added as below:

<property name="java.util.logging.config.file" value="/com/company/bla/bla/log.properties">


subject: Java Web Start and JDK Logger
Similar Threads
B&S Locking Test
java.util.logger configuration
JDK Logger
commons logging : unable to configure proper logger class
send server output to log file