Killed quiet mode. Should probably kill debugMode as well, but Queue's using

it.  Will check with Khalid tomorrow.


git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5695 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2011-04-27 04:17:36 +00:00
parent 6b1b4931e7
commit 27495a0c64
1 changed files with 0 additions and 18 deletions

View File

@ -54,13 +54,6 @@ public abstract class CommandLineProgram {
required = false)
protected String toFile = null;
/** do we want to silence the command line output */
@Argument(fullName = "quiet_output_mode",
shortName = "quiet",
doc = "Set the logging to quiet mode, no output to stdout",
required = false)
protected Boolean quietMode = false;
/** do we want to generate debugging information with the logs */
@Argument(fullName = "debug_mode",
shortName = "debug",
@ -218,17 +211,6 @@ public abstract class CommandLineProgram {
clp.setupLoggerLevel(layout);
}
// if they set the mode to quiet
if (clp.quietMode) {
// the only appender we should have is stdout, the following meathod is
// deprecated, but the standard remove all appenders doesn't seem to work
// TODO: find the right function
//Category root = Category.getRoot();
//root.removeAllAppenders();
//logger.removeAllAppenders();
}
// if they specify a log location, output our data there
if (clp.toFile != null) {
FileAppender appender;