From c061337ce76f4b2dffc8a86340b0133538528576 Mon Sep 17 00:00:00 2001 From: Nebulosa <85841412+nebulosa2007@users.noreply.github.com> Date: Fri, 2 Jan 2026 18:11:32 +0300 Subject: Set log folder variable to /var/log/3x-ui (#3599) * Set log folder variable to /var/log/3x-ui * Set log folder as x-ui and create the log folder * Create the log folder in install and update scripts --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.go b/config/config.go index 17c9a77f..e5b43a29 100644 --- a/config/config.go +++ b/config/config.go @@ -109,7 +109,7 @@ func GetLogFolder() string { if runtime.GOOS == "windows" { return filepath.Join(".", "log") } - return "/var/log" + return "/var/log/x-ui" } func copyFile(src, dst string) error { -- cgit v1.2.3