improve output log when invalid redirect.

Signed-off-by: Jack <jack.wgm@gmail.com>