Project

General

Profile

Actions

Bug #479

closed

Debug message level

Added by Jing Tao over 22 years ago. Updated over 22 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
05/01/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
479

Description

In metacat, we use a flag to control display debug message or not. The flag
just have two values: true or false.

It will be good if we use debug level to control bebug message. For example,
the level is less 10 is very important and the level is greater than 50 is
trivial. This control will have more flexibility.

Actions #1

Updated by Jing Tao over 22 years ago

A static method debugMessage(String msg, int level) was add to MetaCatUtil
class. User can assign different debug level for this message. If the debug
level is less than the setting level in build.xml. The message will be shown.
Otherwise, it will be hidden.

The rule for debug level:
1) Most important track information: 1-10;
2) More important track information: 11- 20
3) Exception message:30
4) Other track information: 40

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 479

Actions

Also available in: Atom PDF