This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
Java Web Start and JDK Logger
B&S Locking Test
java.util.logger configuration
commons logging : unable to configure proper logger class
send server output to log file