set logging to true by default