From b7cacc928feda32557834f59fd7b2e9bb7a53a97 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Mon, 19 Nov 2018 11:30:29 +0100 Subject: remove debug output This output was poluting the log and wasn't necessary. --- cmd/moncheck/main.go | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd') 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) -- cgit v1.2.3-70-g09d2