Skip to content

Commit

Permalink
use log
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Feb 26, 2019
1 parent 84ee610 commit 55f74de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wazuh_notifier/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (s *Slack) Notify(a *Alert) error {
for _, g := range groups {
_, found := s.cache.Get(g + a.Rule.ID)
if found {
fmt.Printf("skip notify group %s, ruleid %s\n", g, a.Rule.ID)
log.Infof("skip notify group %s, ruleid %s\n", g, a.Rule.ID)
continue
}

Expand Down

0 comments on commit 55f74de

Please sign in to comment.