Skip to content

Commit

Permalink
Add info log with instanceid that is being filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
lox committed May 10, 2016
1 parent 8f4b7ef commit 9fd35ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/lifecycled/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func main() {
kingpin.CommandLine.DefaultEnvars()
kingpin.Parse()

if *instanceID != "" {
log.WithFields(log.Fields{"instance_id": *instanceID}).Info("Filtering messages by instance id")
}

var queue lifecycled.Queue

// provide a simulated queue for testing
Expand Down

0 comments on commit 9fd35ac

Please sign in to comment.