getting console log