mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3599] [MERGED] Set log folder variable to /var/log/x-ui #5473
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5473
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/3599
Author: @nebulosa2007
Created: 12/5/2025
Status: ✅ Merged
Merged: 1/2/2026
Merged by: @MHSanaei
Base:
main← Head:log_folder📝 Commits (4)
742d901Set log folder variable to /var/log/3x-ui3772a98Merge branch 'MHSanaei:main' into log_folder2c48a64Set log folder as x-ui and create the log folder12768ccCreate the log folder in install and update scripts📊 Changes
4 files changed (+5 additions, -2 deletions)
View changed files
📝
config/config.go(+1 -1)📝
install.sh(+1 -0)📝
update.sh(+1 -0)📝
x-ui.sh(+2 -1)📄 Description
What is the pull request?
Move all logs files from /var/log/ to /var/log/3x-ui:
📄 /var/log/3xipl-ap.log -> /var/log/3x-ui/3xipl-ap.log
📄 /var/log/3xipl-ap.prev.log -> /var/log/3x-ui/3xipl-ap.prev.log
📄 /var/log/3xipl-banned.log -> /var/log/3x-ui/3xipl-banned.log
📄 /var/log/3xipl-banned.prev.log -> /var/log/3x-ui/3xipl-banned.prev.log
📄 /var/log/3xipl.log -> /var/log/3x-ui/3xipl.log
📄 /var/log/3xui.log -> /var/log/3x-ui/3xui.log
like others programs do, to prevent mess in var/log folder and for log rotate and cleanup issues.
I did it already about couple month ago on my Arch Linux system and it works without any issue.
Which part of the application is affected by the change?
Type of Changes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.