[Checkins] SVN: relstorage/branches/1.4.0-fastimport/relstorage/zodbconvert.py In zodbconvert moved the logging.basicConfig call to where it was before my previous change, as it gets ignored in the later spot.
Maurits van Rees
m.van.rees at zestsoftware.nl
Thu Jan 6 09:54:23 EST 2011
Log message for revision 119422:
In zodbconvert moved the logging.basicConfig call to where it was before my previous change, as it gets ignored in the later spot.
Changed:
U relstorage/branches/1.4.0-fastimport/relstorage/zodbconvert.py
-=-
Modified: relstorage/branches/1.4.0-fastimport/relstorage/zodbconvert.py
===================================================================
--- relstorage/branches/1.4.0-fastimport/relstorage/zodbconvert.py 2011-01-06 14:24:59 UTC (rev 119421)
+++ relstorage/branches/1.4.0-fastimport/relstorage/zodbconvert.py 2011-01-06 14:54:22 UTC (rev 119422)
@@ -38,6 +38,9 @@
"""
log = logging.getLogger("relstorage.zodbconvert")
+logging.basicConfig(
+ level=logging.INFO,
+ format="%(asctime)s %(levelname)s:%(name)s: %(message)s")
def storage_has_data(storage):
@@ -140,7 +143,4 @@
if __name__ == '__main__':
- logging.basicConfig(
- level=logging.INFO,
- format="%(asctime)s %(levelname)s:%(name)s: %(message)s")
main()
More information about the checkins
mailing list