mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 23:18:10 +00:00
[server] Reduce log noise
This commit is contained in:
parent
2274be94c3
commit
5d0c337bfb
@ -35,6 +35,12 @@ func shouldSkipBodyLog(method string, path string) bool {
|
||||
if method == "PUT" && path == "/embeddings" {
|
||||
return true
|
||||
}
|
||||
if path == "/user-entity/entity" && (method == "POST" || method == "PUT") {
|
||||
return true
|
||||
}
|
||||
if path == "files/data" && method == "PUT" {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user