turning on logging output