Skip to content

Commit

Permalink
enable log print on task change event, to aid finding the cause of th…
Browse files Browse the repository at this point in the history
…at crash
  • Loading branch information
christianparpart committed Mar 23, 2016
1 parent 714b968 commit 705a6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (mmsd *mmsdService) SetupEventBusListener() {

// enable/disable given app:task
func (mmsd *mmsdService) Update(appID string, taskID string, alive bool) {
// log.Printf("Update %v: %v (%v)\n", appId, taskId, alive)
log.Printf("Update %v: %v (%v)\n", appID, taskID, alive)
m, err := marathon.NewService(mmsd.MarathonIP, mmsd.MarathonPort)
if err != nil {
log.Printf("Update: NewService(%q, %v) failed. %v\n", mmsd.MarathonIP, mmsd.MarathonPort, err)
Expand Down

0 comments on commit 705a6aa

Please sign in to comment.