Skip to content

Commit

Permalink
Log PID when sending signals
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Jun 12, 2017
1 parent fd8f4e0 commit 52ffc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/driver/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ func (e *UniversalExecutor) Signal(s os.Signal) error {
return fmt.Errorf("Task not yet run")
}

e.logger.Printf("[DEBUG] executor: sending signal %s", s)
e.logger.Printf("[DEBUG] executor: sending signal %s to PID %d", s, e.cmd.Process.Pid)
err := e.cmd.Process.Signal(s)
if err != nil {
e.logger.Printf("[ERR] executor: sending signal %v failed: %v", s, err)
Expand Down

0 comments on commit 52ffc01

Please sign in to comment.