Skip to content

Commit

Permalink
More debug logs for start and stop commands
Browse files Browse the repository at this point in the history
  • Loading branch information
crioto committed Nov 2, 2018
1 parent fbc5713 commit e5336d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start.go
Expand Up @@ -75,6 +75,8 @@ func (d *Daemon) execRESTStart(w http.ResponseWriter, r *http.Request) {
if handleMarshalError(err, w) != nil {
return
}

ptp.Log(ptp.Debug, "Executing start command: %+v", args)
response := new(Response)
err = d.run(&RunArgs{
IP: args.IP,
Expand Down
1 change: 1 addition & 0 deletions stop.go
Expand Up @@ -55,6 +55,7 @@ func (d *Daemon) execRESTStop(w http.ResponseWriter, r *http.Request) {
if handleMarshalError(err, w) != nil {
return
}
ptp.Log(ptp.Debug, "Executing stop command: %+v", args)
response := new(Response)
d.Stop(&DaemonArgs{
Hash: args.Hash,
Expand Down

0 comments on commit e5336d1

Please sign in to comment.