Update hook.php

removed log