Add command logging to barak
This commit is contained in:
parent
59e69434e1
commit
8b36f308e2
|
@ -118,7 +118,7 @@ func Run(authCommand AuthCommand) (interface{}, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
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
|
// Issue command
|
||||||
switch c := command.(type) {
|
switch c := command.(type) {
|
||||||
case CommandRunProcess:
|
case CommandRunProcess:
|
||||||
|
|
Loading…
Reference in New Issue