From 7e7ac621ec0eee448bd88fc2443100fd8d267086 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Wed, 1 Jan 2025 11:54:48 +0800 Subject: [PATCH] fix: update default task log path for consistency across environments - Changed the default task log path from '/var/log/crawlab/tasks' to '/app/logs/tasks' to align with the application's directory structure and improve portability in different deployment environments. --- core/utils/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/config.go b/core/utils/config.go index 3387ff65..d8dfbe2c 100644 --- a/core/utils/config.go +++ b/core/utils/config.go @@ -11,7 +11,7 @@ import ( const ( DefaultWorkspace = "crawlab_workspace" - DefaultTaskLogPath = "/var/log/crawlab/tasks" + DefaultTaskLogPath = "/app/logs/tasks" DefaultServerHost = "0.0.0.0" DefaultServerPort = 8000 DefaultGrpcHost = "localhost"