Added console and changed logging option