Skip to content

Commit

Permalink
HOT: Send to logger instead of stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Buchel committed Oct 29, 2021
1 parent 8eb191e commit 866da39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libvfio/control/root.nim
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ proc sendCommand*(monad: CommandMonad, cmd: Args, log: bool = false) =
## Side Effects - Sends arbitrary command to the command monad.
let
realCommand = join(cmd.exec & cmd.args, " ")
if log: echo("Executing: ", realCommand)
if log: info("Executing: ", realCommand)
write(monad.inputStream, realCommand & "\n")
flush(monad.inputStream)

Expand Down

0 comments on commit 866da39

Please sign in to comment.