From 0138b5924ff14ef709398bf878dbb9bf2a0b7c33 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Wed, 23 Sep 2026 13:05:17 +0000
Subject: [PATCH] [#1030] Keep the setup log out of the way of start-ds, and say when it is gone (#1032)

---
 opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java b/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java
index 808f87b..f5265b8 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/Uninstaller.java
@@ -696,6 +696,11 @@
   /** Actually performs the uninstall in this thread. The thread is blocked. */
   @Override
   public void run() {
+    // The uninstall begins here, as the install begins in Installer.run(): the errors below go
+    // to the error logger, and only the log file puts a publisher on it. Without it a failed
+    // uninstall in the wizard leaves no record anywhere (issue #1030). The command line
+    // uninstaller is given no supplier - its launcher has created the log already.
+    openTempLogFile();
     status = STARTED;
     logger.info(LocalizableMessage.raw("run of the Uninstaller started"));
 

--
Gitblit v1.10.0