Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDK Logger

 
Balachandran Paranjothimani
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic