Cleaning of console log