Use debug level for trace logging.
This commit is contained in:
@@ -51,10 +51,10 @@ public class BackingServicesProvisionService {
|
||||
.parallel()
|
||||
.runOn(Schedulers.parallel())
|
||||
.flatMap(deployerClient::updateServiceInstance)
|
||||
.doOnRequest(l -> log.info("Updating backing services {}", backingServices))
|
||||
.doOnEach(response -> log.info("Finished updating backing service {}", response))
|
||||
.doOnComplete(() -> log.info("Finished updating backing service {}", backingServices))
|
||||
.doOnError(exception -> log.info("Error updating backing services {} with error '{}'",
|
||||
.doOnRequest(l -> log.debug("Updating backing services {}", backingServices))
|
||||
.doOnEach(response -> log.debug("Finished updating backing service {}", response))
|
||||
.doOnComplete(() -> log.debug("Finished updating backing service {}", backingServices))
|
||||
.doOnError(exception -> log.error("Error updating backing services {} with error '{}'",
|
||||
backingServices, exception.getMessage()))
|
||||
.sequential();
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@ package org.springframework.cloud.appbroker.extensions.support;
|
||||
import org.apache.commons.beanutils.BeanIntrospector;
|
||||
import org.apache.commons.beanutils.DefaultBeanIntrospector;
|
||||
import org.apache.commons.beanutils.IntrospectionContext;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import reactor.util.Logger;
|
||||
import reactor.util.Loggers;
|
||||
|
||||
import java.beans.IntrospectionException;
|
||||
import java.beans.Introspector;
|
||||
@@ -41,7 +41,7 @@ public class KebabCasePropertyBeanIntrospector implements BeanIntrospector {
|
||||
|
||||
private static final String WRITE_METHOD_PREFIX = "set";
|
||||
|
||||
private final Log log = LogFactory.getLog(getClass());
|
||||
private final Logger log = Loggers.getLogger(getClass());
|
||||
|
||||
/**
|
||||
* Creates a new instance of <code>KebabCaseBeanIntrospector</code> and
|
||||
@@ -68,9 +68,8 @@ public class KebabCasePropertyBeanIntrospector implements BeanIntrospector {
|
||||
context.addPropertyDescriptor(createPropertyDescriptor(m));
|
||||
}
|
||||
} catch (final IntrospectionException e) {
|
||||
log.info("Error when creating PropertyDescriptor for " + m
|
||||
+ "! Ignoring this property.");
|
||||
log.debug("Exception is:", e);
|
||||
log.error("Error when creating PropertyDescriptor for method '{}'. " +
|
||||
"This property will be ignored. {}", m, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user