[Checkins] SVN: relstorage/trunk/relstorage/storage.py In history-free storages, the message about missing oid 0 is a debug
Shane Hathaway
shane at hathawaymix.org
Mon Oct 5 18:26:47 EDT 2009
Log message for revision 104813:
In history-free storages, the message about missing oid 0 is a debug
message, not a warning.
Changed:
U relstorage/trunk/relstorage/storage.py
-=-
Modified: relstorage/trunk/relstorage/storage.py
===================================================================
--- relstorage/trunk/relstorage/storage.py 2009-10-05 22:25:20 UTC (rev 104812)
+++ relstorage/trunk/relstorage/storage.py 2009-10-05 22:26:47 UTC (rev 104813)
@@ -336,6 +336,10 @@
msg.append("Recent object tids: %s" % repr(tids))
else:
+ if oid_int == 0:
+ # This happens when initializing a new database or
+ # after packing, so it's usually not a warning.
+ logfunc = log.debug
msg.append("history-free adapter")
logfunc('; '.join(msg))
More information about the checkins
mailing list