Merge pull request #938 from router-for-me/log

refactor(logging): clean up oauth logs and debugs
This commit is contained in:
Luis Pater
2026-01-10 00:02:45 +08:00
committed by GitHub
5 changed files with 11 additions and 25 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 != "" {