Revert "remove console log"

This reverts commit ed306389621cfb52dfec793dafd558ee5ea49524.