Log output of hook script