Added missing log calls.