Merge pull request #2703 from seefs001/feature/log-conversion-info

feat: log shows request conversion
This commit is contained in:
Calcium-Ion
2026-01-21 23:48:08 +08:00
committed by GitHub
15 changed files with 165 additions and 15 deletions
+2 -1
View File
@@ -56,8 +56,9 @@ func formatUserLogs(logs []*Log) {
var otherMap map[string]interface{}
otherMap, _ = common.StrToMap(logs[i].Other)
if otherMap != nil {
// delete admin
// Remove admin-only debug fields.
delete(otherMap, "admin_info")
delete(otherMap, "request_conversion")
}
logs[i].Other = common.MapToJsonStr(otherMap)
logs[i].Id = logs[i].Id % 1024