TrinityCore / TrinityCore/TrinityCoreCustomChanges
3.3.5-passive_anticheat log suggestion
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C++
- Star
- 83
- Fork
- 58
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Description:
Woud be great when Anticheat.WriteLog = 0 it will not create the empty document log at all.
This is somehow annoying while testing because it does fill logs folder on every server start-up.
Current behaviour:
Atm when Anticheat.WriteLog = 0 / is disabled in config it will still create the empty document with anticheat_y-m-d-h-m-s.txt
Expected behaviour:
Maybe when Anticheat.WriteLog = 0, the log file not be created at all or at least overwrited at next start-up
Steps to reproduce the problem:
- Set Anticheat.WriteLog = 0 in worldserver config then start the server
- notice the empty log is still created
Branch(es):
3.3.5
TC rev. hash/commit:
d434182e30dd
TDB version: TDB335.2404
Operating system: Windows 11 x64
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện sự cố trên branch 3.3.5 bằng cấu hình worldserver với Anticheat.WriteLog = 0, sau đó lần theo luồng khởi động tạo các tệp trong thư mục logs. So sánh hành vi khởi động khi bật và tắt logging, đồng thời xác nhận rằng việc tắt thiết lập này không còn tạo tệp anticheat_y-m-d-h-m-s.txt rỗng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cpp
- Lĩnh vực
- backend, security
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100