Add console log in log publication