From 39be274a446bc48400fb0f4ff8ec74b54883f7a6 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 12 Feb 2014 10:55:00 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 : Migrate I18n and logging support to i18n framework and SLF4J
---
opendj3-server-dev/src/server/org/opends/server/tools/StartWindowsService.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/StartWindowsService.java b/opendj3-server-dev/src/server/org/opends/server/tools/StartWindowsService.java
index 1c0f711..245fc57 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/StartWindowsService.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/StartWindowsService.java
@@ -31,6 +31,7 @@
import java.io.OutputStream;
import java.io.PrintStream;
+import org.opends.server.loggers.JDKLogging;
import org.opends.server.types.NullOutputStream;
import org.opends.server.util.SetupUtils;
@@ -84,8 +85,9 @@
OutputStream errStream)
{
int returnValue;
- PrintStream out = NullOutputStream.wrapOrNullStream(outStream);
+ NullOutputStream.wrapOrNullStream(outStream);
PrintStream err = NullOutputStream.wrapOrNullStream(errStream);
+ JDKLogging.disableLogging();
String serviceName = ConfigureWindowsService.getServiceName();
if (serviceName == null)
--
Gitblit v1.10.0