| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.opends.quicksetup.util; |
| | |
| | | TextDebugLogPublisher.getStartupTextDebugPublisher(debugWriter); |
| | | DebugLogger.addDebugLogPublisher(startupDebugPublisher); |
| | | |
| | | startupErrorPublisher = |
| | | TextErrorLogPublisher.getStartupTextErrorPublisher(errorWriter); |
| | | startupErrorPublisher = TextErrorLogPublisher |
| | | .getServerStartupTextErrorPublisher(errorWriter); |
| | | ErrorLogger.addErrorLogPublisher(startupErrorPublisher); |
| | | |
| | | startupAccessPublisher = |
| | |
| | | } |
| | | } |
| | | |
| | | 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. |