Skip to content

Commit

Permalink
Fixed some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lonelycode committed Aug 18, 2015
1 parent 018c2f5 commit 96dad0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ func groupResetHandler(w http.ResponseWriter, r *http.Request) {
var code int

if r.Method == "GET" {
log.Warning("Group reload activated: sending notification to pub/sub")
log.Info("Group reload: sending to channel")
responseMessage, code = signalGroupReload()

} else {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ func ReloadURLStructure() {
getPolicies()

http.DefaultServeMux = newMuxes
log.Info(">> API reload complete")
log.Info("API reload complete")
}

func init() {
Expand Down
2 changes: 1 addition & 1 deletion notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (r *RedisNotifier) Notify(notification Notification) bool {
log.Error(err)
return false
} else {
log.Info("Sending notification", notification)
log.Debug("Sending notification", notification)
sentErr := r.store.Publish(r.channel, string(toSend))
if sentErr != nil {
log.Error("Could not send notification")
Expand Down

0 comments on commit 96dad0d

Please sign in to comment.