I am using for client side slf4j as facade framework but behind we decided to use jdk14 standard logging. SO to config jdk14 for webstart you need to
do following:
1) Define according your OS platform JAVAWS_VM_ARGS environment variable, for linux its like this:
export JAVAWS_VM_ARGS="-Djava.util.logging.config.file=/home/sargis/<localpath>/logging.properties"
2) Here is logging.properties content:
handlers= java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
.level= INFO
info.sargis.level = FINE
info.sargis.handlers = java.util.logging.ConsoleHandler
Showing posts with label WebStart. Show all posts
Showing posts with label WebStart. Show all posts
Sunday, March 28, 2010
How to config Java WebStart to use logging subsystem
Subscribe to:
Posts (Atom)