Project

General

Profile

Actions

Bug #73

closed

eliminate all System.out and Sytem.err messages

Added by Matt Jones over 24 years ago. Updated over 22 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).

Actions #1

Updated by Dan Higgins over 24 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)

Actions #2

Updated by Dan Higgins about 24 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.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 73

Actions

Also available in: Atom PDF