Bug #73
eliminate all System.out and Sytem.err messages
0%
Description
The dmanclient currently prints copious debugging messages to stderr and
stdout. All of these must be removed, either by eliminating them, or wrapping
them in a "debugMessage" function that can be turned on and off at compile
time. There is a good example of one of these utility methods in
edu.ucsb.nceas.metacat.MetaCatUtil.debugMessage() -- it uses a static debug flag
so that the conditional executed if the debug flag is false (Java eliminates all
conditionals that are static false).
History
#1 Updated by Dan Higgins almost 22 years ago
A simple 'fix' is to use 'javaw' to launch application rather than 'java' for
user version. (User will not see messages, but developer will)
#2 Updated by Dan Higgins almost 22 years ago
All but a few initial messages can now be vectored to a 'stderr.log' file by
setting the parameter 'log_file' to true in 'client.properties' file. the few
initial parameters can be eliminated by launching with javac rather than java.
#3 Updated by Redmine Admin over 9 years ago
Original Bugzilla ID was 73