aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2018-11-19 11:30:29 +0100
committerGibheer <gibheer+git@zero-knowledge.org>2018-11-19 11:30:29 +0100
commitb7cacc928feda32557834f59fd7b2e9bb7a53a97 (patch)
tree97f7cb299f1f90eaa4d6ee754cb13da392a8c884
parent4db00b00ed85e927276ccd67cbc6fb1964e0be65 (diff)
remove debug output
This output was poluting the log and wasn't necessary.
-rw-r--r--cmd/moncheck/main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/moncheck/main.go b/cmd/moncheck/main.go
index 2e549b7..82b3d1f 100644
--- a/cmd/moncheck/main.go
+++ b/cmd/moncheck/main.go
@@ -136,7 +136,6 @@ func check(thread int, db *sql.DB, waitDuration time.Duration) {
tx.Rollback()
continue
}
- log.Printf("meh %s", output.String())
if notify {
if _, err := tx.Exec("insert into notifications(check_id, states, output) values ($1, $2, $3);", &id, &states, &msg); err != nil {
log.Printf("[%d] could not create notification for '%d': %s", thread, id, err)