turn on logging.