aboutsummaryrefslogtreecommitdiffstats
path: root/extra/net/sourceforge/jnlp/about
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2010-11-18 11:12:10 -0500
committerOmair Majid <[email protected]>2010-11-18 11:12:10 -0500
commit3f351c0718209878b0a3d880d9757ddca90e447e (patch)
tree14b93db2b7f2159f57c0ac127be72a52848099c0 /extra/net/sourceforge/jnlp/about
parent16d8875dca7ef93f6c1aea72cf84bb8bb5251722 (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')
0 files changed, 0 insertions, 0 deletions