We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ddc7b commit 3a3700fCopy full SHA for 3a3700f
cns/restserver/api.go
@@ -567,9 +567,10 @@ func (service *HTTPRestService) createOrUpdateNetworkContainer(w http.ResponseWr
567
// If the NC was created successfully, log NC snapshot.
568
if returnCode == types.Success {
569
logNCSnapshot(req)
570
+ } else {
571
+ // Only emit response trace/log for non-success responses to avoid noisy success logs.
572
+ logger.Response(service.Name, reserveResp, resp.ReturnCode, err)
573
}
-
- logger.Response(service.Name, reserveResp, resp.ReturnCode, err)
574
575
576
func (service *HTTPRestService) getNetworkContainerByID(w http.ResponseWriter, r *http.Request) {
0 commit comments