Add switch for info/debug logging.