diff options
author | Omair Majid <[email protected]> | 2010-11-18 11:12:10 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-11-18 11:12:10 -0500 |
commit | 3f351c0718209878b0a3d880d9757ddca90e447e (patch) | |
tree | 14b93db2b7f2159f57c0ac127be72a52848099c0 /extra/net/sourceforge/jnlp/about/Main.java | |
parent | 16d8875dca7ef93f6c1aea72cf84bb8bb5251722 (diff) |
integrate configurable logging
2010-11-18 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
Add KEY_ENABLE_LOGGING.
(loadDefaultProperties): Use KEY_ENABLE_LOGGING.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Add
redirectStreams, STDERR_FILE and STDOUT_FILE.
(initialize): Call initializeStreams.
(initializeStreams): New method. Redirects or duplicates stdout and
stderr to the logging files as required.
(setRedirectStreams): New method. Sets whether stdout/stderr streams
should be redirected.
* plugin/icedteanp/java/sun/applet/PluginMain.java:
(PluginMain): Move code for creating logging files into JNLPRuntime.
Call JNLPRuntime.setRedirectStreams to redirect streams.
(TeeOutputStream): Move to its own class.
* netx/net/sourceforge/jnlp/util/TeeOutputStream.java: Moved from
PluginMain into this new class.
Diffstat (limited to 'extra/net/sourceforge/jnlp/about/Main.java')
0 files changed, 0 insertions, 0 deletions