Project

General

Profile

Bug #73

eliminate all System.out and Sytem.err messages

Added by Matt Jones almost 20 years ago. Updated about 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
08/18/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
73

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 20 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 over 19 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 about 7 years ago

Original Bugzilla ID was 73

Also available in: Atom PDF