[Checkins] SVN: zopyx.smartprintng.server/trunk/ converter logging at startup

Andreas Jung andreas at andreas-jung.com
Thu Sep 17 12:01:11 EDT 2009


Log message for revision 104238:
  converter logging at startup
  

Changed:
  U   zopyx.smartprintng.server/trunk/docs/HISTORY.txt
  U   zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/run.py

-=-
Modified: zopyx.smartprintng.server/trunk/docs/HISTORY.txt
===================================================================
--- zopyx.smartprintng.server/trunk/docs/HISTORY.txt	2009-09-17 16:01:06 UTC (rev 104237)
+++ zopyx.smartprintng.server/trunk/docs/HISTORY.txt	2009-09-17 16:01:11 UTC (rev 104238)
@@ -1,6 +1,10 @@
 Changelog
 =========
 
+0.6.1 (unreleased)
+------------------
+* logging available converters at startup
+
 0.6.0 (2009/09/15)
 ------------------
 * authentication and authorization support

Modified: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/run.py
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/run.py	2009-09-17 16:01:06 UTC (rev 104237)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/run.py	2009-09-17 16:01:11 UTC (rev 104238)
@@ -18,6 +18,7 @@
     import zopyx.smartprintng.server
     from models import root
     from logger import LOG
+    import zopyx.convert2
 
     if 'mail_config' in global_config:
         mail_config = os.path.abspath(global_config['mail_config'])
@@ -28,6 +29,7 @@
     LOG.info('SmartPrintNG server started')
     LOG.info('Temp directory: %s' % root.temp_directory)
     LOG.info('Spool directory: %s' % root.spool_directory)
+    LOG.info('Available converters: %s' % ', '.join(zopyx.convert2.registry.availableConverters()))
     if have_authentication:
         LOG.info('Authentication module found - server requires authentication')
     else:



More information about the checkins mailing list