send cmd output to /dev/null
add some logging