From efd7dae60d84bcd347b8d3232ff393e8987007cf Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 09 Mar 2012 14:44:59 +0000
Subject: [PATCH] Fix OPENDJ-438: Reduce verbosity of server.out during startup
---
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java
index 60b8e84..60acb7e 100644
--- a/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java
+++ b/opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/InProcessServerController.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2008-2010 Sun Microsystems, Inc.
+ * Portions copyright 2012 ForgeRock AS.
*/
package org.opends.quicksetup.util;
@@ -571,8 +572,8 @@
TextDebugLogPublisher.getStartupTextDebugPublisher(debugWriter);
DebugLogger.addDebugLogPublisher(startupDebugPublisher);
- startupErrorPublisher =
- TextErrorLogPublisher.getStartupTextErrorPublisher(errorWriter);
+ startupErrorPublisher = TextErrorLogPublisher
+ .getServerStartupTextErrorPublisher(errorWriter);
ErrorLogger.addErrorLogPublisher(startupErrorPublisher);
startupAccessPublisher =
@@ -586,12 +587,6 @@
}
}
- static private void unregisterListenersForOutput() {
- DebugLogger.removeDebugLogPublisher(startupDebugPublisher);
- ErrorLogger.removeErrorLogPublisher(startupErrorPublisher);
- AccessLogger.removeAccessLogPublisher(startupAccessPublisher);
- }
-
/**
* Compares two lists of attributes for equality. Any non-user attributes
* are ignored during comparison.
--
Gitblit v1.10.0