Log used flag (#4614)

This commit is contained in:
Niketh Sabbineni 2017-07-31 14:58:36 -07:00 committed by Himanshu
parent 8921538251
commit cbb9f7d214
1 changed files with 2 additions and 2 deletions

View File

@ -631,10 +631,10 @@ public class IndexerSQLMetadataStorageCoordinator implements IndexerMetadataStor
.bind("payload", jsonMapper.writeValueAsBytes(segment))
.execute();
log.info("Published segment [%s] to DB", segment.getIdentifier());
log.info("Published segment [%s] to DB with used flag [%s]", segment.getIdentifier(), used);
}
catch (Exception e) {
log.error(e, "Exception inserting segment [%s] into DB", segment.getIdentifier());
log.error(e, "Exception inserting segment [%s] with used flag [%s] into DB", segment.getIdentifier(), used);
throw e;
}