[server] Reduce log noise

This commit is contained in:
Neeraj Gupta 2024-08-13 10:22:16 +05:30
parent 2274be94c3
commit 5d0c337bfb

View File

@ -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
}