Disable logging when --silent is used