DATAMONGO-920 - Improve debug message for delete events in AbstractMongoEventListener.

Adjusted debug message to reflect the actual operation.

Original pull request: #95.
This commit is contained in:
Kim Toms
2013-11-06 14:31:56 -05:00
committed by Thomas Darimont
parent 65497f93d4
commit c9d9976c22

View File

@@ -126,13 +126,13 @@ public abstract class AbstractMongoEventListener<E> implements ApplicationListen
public void onAfterDelete(DBObject dbo) {
if (LOG.isDebugEnabled()) {
LOG.debug("onAfterConvert({})", dbo);
LOG.debug("onAfterDelete({})", dbo);
}
}
public void onBeforeDelete(DBObject dbo) {
if (LOG.isDebugEnabled()) {
LOG.debug("onAfterConvert({})", dbo);
LOG.debug("onBeforeDelete({})", dbo);
}
}
}