Switch on logging.