[csw-devel] SF.net SVN: gar:[18163] csw/mgar/gar/v2/lib/python/generate_catalog_file.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed May 30 00:24:35 CEST 2012


Revision: 18163
          http://gar.svn.sourceforge.net/gar/?rev=18163&view=rev
Author:   wahwah
Date:     2012-05-29 22:24:35 +0000 (Tue, 29 May 2012)
Log Message:
-----------
generate-catalog-file: Enable debug logging

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/generate_catalog_file.py

Modified: csw/mgar/gar/v2/lib/python/generate_catalog_file.py
===================================================================
--- csw/mgar/gar/v2/lib/python/generate_catalog_file.py	2012-05-29 21:59:21 UTC (rev 18162)
+++ csw/mgar/gar/v2/lib/python/generate_catalog_file.py	2012-05-29 22:24:35 UTC (rev 18163)
@@ -24,6 +24,7 @@
 import rest
 import os
 import optparse
+import logging
 
 
 class Error(Exception):
@@ -90,6 +91,7 @@
 
 
 def main():
+  logging.basicConfig(level=logging.DEBUG)
   parser = optparse.OptionParser()
   parser.add_option("--out-dir", dest="out_dir")
   parser.add_option("--catalog-release", dest="catrel")

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list