DBZ-85 Corrected log statements to be debug
This commit is contained in:
parent
e3a00e1992
commit
a8fa33e44b
@ -625,7 +625,7 @@ protected Object handleUnknownData(Column column, Field fieldDefn, Object data)
|
||||
protected Object convertTimestampWithZone(Column column, Field fieldDefn, Object data) {
|
||||
if (data == null) return null;
|
||||
OffsetDateTime dateTime = null;
|
||||
LoggerFactory.getLogger(getClass()).info("TimestampWithZone: " + data + " , class=" + data.getClass());
|
||||
LOGGER.debug("TimestampWithZone: " + data + " , class=" + data.getClass());
|
||||
if (data instanceof OffsetDateTime) {
|
||||
// JDBC specification indicates that this will be the canonical object for this JDBC type.
|
||||
dateTime = (OffsetDateTime) data;
|
||||
@ -687,7 +687,7 @@ protected OffsetDateTime unexpectedTimestampWithZone(Object value, Field fieldDe
|
||||
protected Object convertTimeWithZone(Column column, Field fieldDefn, Object data) {
|
||||
if (data == null) return null;
|
||||
OffsetTime time = null;
|
||||
LoggerFactory.getLogger(getClass()).info("TimeWithZone: " + data + " , class=" + data.getClass());
|
||||
LOGGER.debug("TimeWithZone: " + data + " , class=" + data.getClass());
|
||||
if (data instanceof OffsetTime) {
|
||||
// JDBC specification indicates that this will be the canonical object for this JDBC type.
|
||||
time = (OffsetTime) data;
|
||||
@ -742,7 +742,7 @@ protected OffsetTime unexpectedTimeWithZone(Object value, Field fieldDefn) {
|
||||
protected Object convertTimestamp(Column column, Field fieldDefn, Object data) {
|
||||
if (data == null) return null;
|
||||
java.util.Date date = null;
|
||||
LoggerFactory.getLogger(getClass()).info("Timestamp: " + data + " , class=" + data.getClass());
|
||||
LOGGER.debug("Timestamp: " + data + " , class=" + data.getClass());
|
||||
if (data instanceof java.util.Date) {
|
||||
ZonedDateTime zdt = timeZoneAdapter.toZonedDateTime((java.util.Date)data);
|
||||
date = java.util.Date.from(zdt.toInstant());
|
||||
@ -790,7 +790,7 @@ protected java.util.Date unexpectedTimestamp(Object value, Field fieldDefn) {
|
||||
protected Object convertTime(Column column, Field fieldDefn, Object data) {
|
||||
if (data == null) return null;
|
||||
java.util.Date date = null;
|
||||
LoggerFactory.getLogger(getClass()).info("Time: " + data + " , class=" + data.getClass());
|
||||
LOGGER.debug("Time: " + data + " , class=" + data.getClass());
|
||||
if (data instanceof java.util.Date) {
|
||||
ZonedDateTime zdt = timeZoneAdapter.toZonedDateTime((java.util.Date)data);
|
||||
date = java.util.Date.from(zdt.toInstant());
|
||||
@ -838,7 +838,7 @@ protected java.util.Date unexpectedTime(Object value, Field fieldDefn) {
|
||||
protected Object convertDate(Column column, Field fieldDefn, Object data) {
|
||||
if (data == null) return null;
|
||||
java.util.Date date = null;
|
||||
LoggerFactory.getLogger(getClass()).info("Date: " + data + " , class=" + data.getClass());
|
||||
LOGGER.debug("Date: " + data + " , class=" + data.getClass());
|
||||
if (data instanceof java.util.Date) {
|
||||
ZonedDateTime zdt = timeZoneAdapter.toZonedDateTime((java.util.Date)data);
|
||||
date = java.util.Date.from(zdt.toInstant());
|
||||
|
Loading…
Reference in New Issue
Block a user