You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/02/02 11:16:18 UTC

[shardingsphere] branch master updated: change agent log output directory to logs (#23938)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 0acb6ef1d06 change agent log output directory to logs (#23938)
0acb6ef1d06 is described below

commit 0acb6ef1d06141ff420216e6b9488bbbee2a31fc
Author: jiangML <10...@qq.com>
AuthorDate: Thu Feb 2 19:16:11 2023 +0800

    change agent log output directory to logs (#23938)
---
 .../shardingsphere/agent/core/log/config/LogbackConfiguration.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/agent/core/src/main/java/org/apache/shardingsphere/agent/core/log/config/LogbackConfiguration.java b/agent/core/src/main/java/org/apache/shardingsphere/agent/core/log/config/LogbackConfiguration.java
index 7f1e09713aa..be82187b47b 100644
--- a/agent/core/src/main/java/org/apache/shardingsphere/agent/core/log/config/LogbackConfiguration.java
+++ b/agent/core/src/main/java/org/apache/shardingsphere/agent/core/log/config/LogbackConfiguration.java
@@ -63,7 +63,7 @@ public final class LogbackConfiguration extends BasicConfigurator {
     }
     
     private String getLogFile() {
-        return String.join(File.separator, AgentPath.getRootPath().getPath(), "log", "stdout.log");
+        return String.join(File.separator, AgentPath.getRootPath().getPath(), "logs", "stdout.log");
     }
     
     private LayoutWrappingEncoder<ILoggingEvent> createEncoder(final LoggerContext loggerContext) {