Similar to tracing, logging is a facility to redirect any output in the Java Console to a log file using the Java Logging API. Logging can be turned on by enabling the property javaplugin.logging:
-Djavaplugin.logging=true
Other Options
File Names
The names of the trace and log files are
plugin<modified version number>.trace
plugin<modified version number>.log
where the includes the major, minor and patch version numbers; e.g., plugin142_06.trace or plugin150.log
File Locations
The default location (directory) of the trace and log files is:
* <user.home>/.java/deployment/log on Unix/Linux
* <User Application Data Folder>\Sun\Java\Deployment\log on Windows
where is as defined here.
If the environment variable USER_JPI_PROFILE is set to then the trace and log files will be written to:
* <user plugin home>/.java/deployment/log on Unix/Linux
* <user plugin home>\Sun\Java\Deployment\log on Windows
If the property javaplugin.outputfiles.path is set to then the trace and log files will be written to .
If both USER_JPI_PROFILE and javaplugin.outputfiles.path are set then the value of javaplugin.outputfiles.path takes precedence, and the trace and log files will be written to .