added logging to handle-beach.php