diff --git a/src/java/com/samskivert/jdbc/depot/PersistenceContext.java b/src/java/com/samskivert/jdbc/depot/PersistenceContext.java index 7964237..9e77021 100644 --- a/src/java/com/samskivert/jdbc/depot/PersistenceContext.java +++ b/src/java/com/samskivert/jdbc/depot/PersistenceContext.java @@ -227,7 +227,8 @@ public class PersistenceContext // underlying persistent object marshaller.init(this); if (marshaller.getTableName() != null && _warnOnLazyInit) { - log.warning("Record initialized lazily [type=" + type.getName() + "]."); + log.warning("Record initialized lazily", "type", type.getName(), + new Exception()); } } } catch (DatabaseException pe) {