reduce logging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-19 13:52:08 +10:00
parent ea3e8ddfbc
commit 02061f5b26
3 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ func RetrieveSecret(c *gin.Context) {
c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
return
}
log.Printf("RetrieveSecret received JSON input '%v'\n", input)
//log.Printf("RetrieveSecret received JSON input '%v'\n", input)
// Populate fields
s := models.Secret{}

View File

@@ -236,7 +236,7 @@ func SecretsGetFromMultipleSafes(s *Secret, safeIds []int) ([]Secret, error) {
}
// Execute the query
log.Printf("SecretsGetMultipleSafes query string :\n'%s'\nQuery Args : %+v\n", query, queryArgs)
//log.Printf("SecretsGetMultipleSafes query string :\n'%s'\nQuery Args : %+v\n", query, queryArgs)
rows, err := db.Queryx(query, queryArgs...)
if err != nil {

View File

@@ -495,7 +495,7 @@ func UserGetSafesAllowed(userId int) ([]UserSafe, error) {
log.Println("-----------")
*/
}
log.Printf("UserGetSafesAllowed retrieved '%d' results\n", len(results))
//log.Printf("UserGetSafesAllowed retrieved '%d' results\n", len(results))
}
return results, nil