refactor(logging): clean up oauth logs and debugs

This commit is contained in:
hkfires
2026-01-09 11:20:55 +08:00
parent ef6bafbf7e
commit ee62ef4745
4 changed files with 7 additions and 21 deletions

View File

@@ -304,11 +304,7 @@ func formatAuthInfo(info upstreamRequestLog) string {
parts = append(parts, "type=api_key")
}
case "oauth":
if authValue != "" {
parts = append(parts, fmt.Sprintf("type=oauth account=%s", authValue))
} else {
parts = append(parts, "type=oauth")
}
parts = append(parts, "type=oauth")
default:
if authType != "" {
if authValue != "" {