Sun Java System Message Queue 4.2 Developer's Guide for Java Clients

Using a Logging Configuration File for a Specific Application

You can also define a logging configuration file from the java command line that you use to run an application. The application will use the configuration defined in the specified logging file. In the following example, configFile uses the same format as defined in the JRE_DIRECTORY/lib/ file.

java -Djava.util.logging.config.file=configFile MQApplication