turn on the logging