TrinityCore / TrinityCore/TrinityCoreCustomChanges
3.3.5-passive_anticheat log suggestion
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 83
- 派生
- 58
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 3.3.5 分支上使用 Anticheat.WriteLog = 0 的 worldserver 配置复现该问题,然后跟踪在 logs 文件夹中创建文件的启动路径。比较启用和禁用日志记录时的启动行为,并确认禁用该设置后不再创建空的 anticheat_y-m-d-h-m-s.txt 文件。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- backend, security
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100