Skip to content

Commit 81adb52

Browse files
author
Jonathan Hui
committed
Removed non-operational Update logging
1 parent cf99500 commit 81adb52

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

dao-impl/ebean-dao/src/main/java/com/linkedin/metadata/dao/EbeanLocalDAO.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -595,13 +595,6 @@ protected <ASPECT extends RecordTemplate> void updateWithOptimisticLocking(@Nonn
595595
update.setParameter("createdBy", aspect.getCreatedBy());
596596
update.setParameter("oldTimestamp", oldTimestamp);
597597

598-
// TODO(yanyang) added for job-gms duplicity debug, throwaway afterwards
599-
if (log.isDebugEnabled()) {
600-
if ("AzkabanFlowInfo".equals(aspectClass.getSimpleName())) {
601-
log.debug("updateWithOptimisticLocking SQL: " + update.getGeneratedSql());
602-
}
603-
}
604-
605598
int numOfUpdatedRows;
606599
if (_schemaConfig == SchemaConfig.NEW_SCHEMA_ONLY || _schemaConfig == SchemaConfig.DUAL_SCHEMA) {
607600
// ensure atomicity by running old schema update + new schema update in a transaction

0 commit comments

Comments
 (0)