diff options
| author | Nebulosa <85841412+nebulosa2007@users.noreply.github.com> | 2026-01-02 18:11:32 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-02 18:11:32 +0300 |
| commit | c061337ce76f4b2dffc8a86340b0133538528576 (patch) | |
| tree | a418d5a5ec8d7520552bacd2484f12ffcfcd430d /config | |
| parent | 260eedf8c417458b22bb17224035985a213bf3cc (diff) | |
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
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
