Enable logging.