}
LogEndpoint endpoint = new LogEndpoint(uri, this);
endpoint.setLevel(level.name());
setProperties(endpoint, parameters);
CamelLogger camelLogger = null;
if (providedLogger == null) {
camelLogger = new CamelLogger(remaining, level, endpoint.getMarker());
} else {
camelLogger = new CamelLogger(providedLogger, level, endpoint.getMarker());
}
Processor logger;
if (endpoint.getGroupSize() != null) {
logger = new ThroughputLogger(camelLogger, endpoint.getGroupSize());
} else if (endpoint.getGroupInterval() != null) {