diff --git a/main.go b/main.go index 00490b4..0a19912 100644 --- a/main.go +++ b/main.go @@ -240,6 +240,10 @@ func (rcv *receiver) handleWebhooks(w http.ResponseWriter, r *http.Request) { return } + if rcv.logger.Level() == log.Debug { + rcv.logger.Debugf("Received alert %+v", event) + } + if rcv.cfg.alertMode == single { notifications := rcv.singleAlertNotifications(&event) for _, n := range notifications {