From 97eac05d7164965f19a5b557ae0ff4f586d40731 Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi Date: Wed, 15 Jan 2025 11:45:41 +0530 Subject: [PATCH] messages.log path --- src/test/java/io/openliberty/tools/intellij/it/TestUtils.java | 2 +- .../io/openliberty/tools/intellij/it/Utils/ItConstants.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/io/openliberty/tools/intellij/it/TestUtils.java b/src/test/java/io/openliberty/tools/intellij/it/TestUtils.java index d929faf70..23aaed82f 100644 --- a/src/test/java/io/openliberty/tools/intellij/it/TestUtils.java +++ b/src/test/java/io/openliberty/tools/intellij/it/TestUtils.java @@ -28,7 +28,7 @@ public class TestUtils { /** * WLP messages.log path. */ - public static final Path WLP_MSGLOG_PATH = Paths.get(ItConstants.DEFAULT_SERVER_PATH, "logs", "messages.log"); + public static final Path WLP_MSGLOG_PATH = Paths.get(ItConstants.MESSAGES_LOG_PATH, "messages.log"); /** * Liberty server stopped message: diff --git a/src/test/java/io/openliberty/tools/intellij/it/Utils/ItConstants.java b/src/test/java/io/openliberty/tools/intellij/it/Utils/ItConstants.java index 679624dc8..5662ca5fc 100644 --- a/src/test/java/io/openliberty/tools/intellij/it/Utils/ItConstants.java +++ b/src/test/java/io/openliberty/tools/intellij/it/Utils/ItConstants.java @@ -24,6 +24,7 @@ public class ItConstants { public static final String HEALTH_DIR_PATH = "src/main/java/io/openliberty/mp/sample/health"; public static final String META_INF_DIR_PATH = "src/main/resources/META-INF"; public static final String DEFAULT_SERVER_PATH = "wlp/usr/servers/defaultServer"; + public static final String MESSAGES_LOG_PATH = "wlp/usr/servers/defaultServer/logs"; public static final String SERVER_XML = "server.xml"; public static final String SERVER_ENV = "server.env"; public static final String BOOTSTRAP_PROPERTIES = "bootstrap.properties";