Set logging to true