[Zope-Checkins] SVN: Zope/trunk/ Collector #1775: turning off debug mode by default

Andreas Jung andreas at andreas-jung.com
Tue May 17 14:17:20 EDT 2005


Log message for revision 30380:
  Collector #1775: turning off debug mode by default
  

Changed:
  U   Zope/trunk/lib/python/Zope2/Startup/zopeschema.xml
  U   Zope/trunk/skel/etc/zope.conf.in

-=-
Modified: Zope/trunk/lib/python/Zope2/Startup/zopeschema.xml
===================================================================
--- Zope/trunk/lib/python/Zope2/Startup/zopeschema.xml	2005-05-17 18:09:24 UTC (rev 30379)
+++ Zope/trunk/lib/python/Zope2/Startup/zopeschema.xml	2005-05-17 18:17:20 UTC (rev 30380)
@@ -362,7 +362,7 @@
     <metadefault>$clienthome/Z2.lock</metadefault>
   </key>
 
-  <key name="debug-mode" datatype="boolean" default="on">
+  <key name="debug-mode" datatype="boolean" default="off">
     <description>
     A switch which controls several aspects of Zope operation useful for
     developing under Zope.  When debug mode is on:
@@ -378,7 +378,7 @@
      Setting this to 'off' when Zope is in a production environment is
      encouraged, as it speeds execution (sometimes dramatically).
     </description>
-    <metadefault>on</metadefault>
+    <metadefault>off</metadefault>
   </key>
 
   <key name="effective-user">

Modified: Zope/trunk/skel/etc/zope.conf.in
===================================================================
--- Zope/trunk/skel/etc/zope.conf.in	2005-05-17 18:09:24 UTC (rev 30379)
+++ Zope/trunk/skel/etc/zope.conf.in	2005-05-17 18:17:20 UTC (rev 30380)
@@ -124,11 +124,10 @@
 #       will detect these changes in real time.  When this switch is
 #       off, you must restart the server to see the changes.
 #
-#     Setting this to 'off' when Zope is in a
-#     production environment is encouraged, as it speeds execution (sometimes
-#     dramatically).
+#     Setting this to 'off' when Zope is in a production environment is
+#     encouraged, as it speeds execution (sometimes dramatically).
 #
-# Default: on
+# Default: off
 #
 # Example:
 #



More information about the Zope-Checkins mailing list