diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-02-18 00:36:40 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-02-18 00:41:43 +0300 |
| commit | 2b4d6160c40d55cd8e9a7ffad4cc1524c19c4591 (patch) | |
| tree | 5aea5de12e5cd2582063a521d5d7ec7bd7314b66 /web/job | |
| parent | 57029b1a402acd3034723e956c76536f1e1ade66 (diff) | |
minor changes
Diffstat (limited to 'web/job')
| -rw-r--r-- | web/job/check_client_ip_job.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/job/check_client_ip_job.go b/web/job/check_client_ip_job.go index 51a09db8..d48bc8eb 100644 --- a/web/job/check_client_ip_job.go +++ b/web/job/check_client_ip_job.go @@ -118,7 +118,7 @@ func (j *CheckClientIpJob) checkFail2BanInstalled() { err := exec.Command(cmd, args...).Run() if err != nil { - logger.Error("fail2ban is not installed. IP limiting may not work properly.") + logger.Warning("fail2ban is not installed. IP limiting may not work properly.") } } @@ -126,12 +126,12 @@ func (j *CheckClientIpJob) processLogFile() { accessLogPath := xray.GetAccessLogPath() if accessLogPath == "none" { - logger.Error("Access log is set to 'none' check your Xray Configs") + logger.Warning("Access log is set to 'none' check your Xray Configs") return } if accessLogPath == "" { - logger.Error("Access log doesn't exist in your Xray Configs") + logger.Warning("Access log doesn't exist in your Xray Configs") return } |
