Add command logging to barak

This commit is contained in:
Jae Kwon
2015-04-19 15:51:43 -07:00
parent 59e69434e1
commit 8b36f308e2

View File

@@ -118,7 +118,7 @@ func Run(authCommand AuthCommand) (interface{}, error) {
if err != nil {
return nil, err
}
log.Info(Fmt("Run() received command %v", reflect.TypeOf(command)))
log.Info(Fmt("Run() received command %v:\n%v", reflect.TypeOf(command), command))
// Issue command
switch c := command.(type) {
case CommandRunProcess: