Add console log handler