Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomebodywashere <68244480+somebodywashere@users.noreply.github.com>2024-01-01 18:07:56 +0300
committerGitHub <noreply@github.com>2024-01-01 18:07:56 +0300
commitceee1e4277953b68aeded8af01cf2eddfee2fbd5 (patch)
tree7ff9f21d8c300ffd45473500337cff4a45ab7b65 /xray/process.go
parentb725ea7de5ed73a36a9cd2c23bb247ca6b587573 (diff)
Major changes to tgbot, also small changes for panel (#1463)
* Reduce outage time on Xray errors * Improved logs clearing, added previous logs File name change: 3xipl-access-persistent.log -> 3xipl-ap.log All previous logs have .prev suffix * Preparations for tgbot additions * [tgbot] Improvements, Additions and Fixes * Changed interaction with Expire Date for Clients * Added more info and interactions with Online Clients * Added a way to get Ban Logs (also added them to backup) * Few fixes and optimizations in code * Fixed RU translation * [tgbot] More updates and fixes * [tgbot] Quick Fix * [tgbot] Quick Fix 2 * [tgbot] Big Updates Added Notifications for Clients throught Tgbot (when Expire) Added compability for Usernames both w/wo @ Added more buttons overall for admins * [tgbot] Fixes * [tbot] Fixes 2 * [tgbot] Removed usernames support for Notifications to work * [tgbot] Fix * [tgbot] Fix Notify * [tgbot] small fixes * [tgbot] replyMarkup only for last message on big messages * [tgbot] Fixed last message is empty * [tgbot] Fix messages split
Diffstat (limited to 'xray/process.go')
-rw-r--r--xray/process.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/xray/process.go b/xray/process.go
index 9289362f..093cf69d 100644
--- a/xray/process.go
+++ b/xray/process.go
@@ -41,12 +41,24 @@ func GetIPLimitLogPath() string {
return config.GetLogFolder() + "/3xipl.log"
}
+func GetIPLimitPrevLogPath() string {
+ return config.GetLogFolder() + "/3xipl.prev.log"
+}
+
func GetIPLimitBannedLogPath() string {
return config.GetLogFolder() + "/3xipl-banned.log"
}
+func GetIPLimitBannedPrevLogPath() string {
+ return config.GetLogFolder() + "/3xipl-banned.prev.log"
+}
+
func GetAccessPersistentLogPath() string {
- return config.GetLogFolder() + "/3xipl-access-persistent.log"
+ return config.GetLogFolder() + "/3xipl-ap.log"
+}
+
+func GetAccessPersistentPrevLogPath() string {
+ return config.GetLogFolder() + "/3xipl-ap.prev.log"
}
func GetAccessLogPath() string {