output subcommand error to the log