Adding logging of outputs of up_hook script.