[Zodb-checkins] CVS: Packages/ZConfig/resources - logger.xml:1.1.2.1 zope.xml:1.1.2.3

Fred L. Drake, Jr. fred@zope.com
Thu, 2 Jan 2003 14:51:07 -0500


Update of /cvs-repository/Packages/ZConfig/resources
In directory cvs.zope.org:/tmp/cvs-serv7915/resources

Modified Files:
      Tag: zconfig-schema-devel-branch
	zope.xml 
Added Files:
      Tag: zconfig-schema-devel-branch
	logger.xml 
Log Message:
Now that <import> is working, pull the logging types from a separate
schema component.


=== Added File Packages/ZConfig/resources/logger.xml ===
<schema>
  <sectiontype type="loghandler" datatype="null">
    <key name="constructor" datatype="constructor" required="yes"/>
    <key name="formatter" datatype="constructor"
         default="logging.Formatter()"/>
  </sectiontype>

  <sectiontype type="logger">
     <key name="level" datatype="logging-level" default="info"/>
     <multisection type="loghandler" attribute="handlers" name="*"/>
  </sectiontype>
</schema>


=== Packages/ZConfig/resources/zope.xml 1.1.2.2 => 1.1.2.3 ===
--- Packages/ZConfig/resources/zope.xml:1.1.2.2	Thu Jan  2 13:04:20 2003
+++ Packages/ZConfig/resources/zope.xml	Thu Jan  2 14:51:03 2003
@@ -2,16 +2,7 @@
 
   <!-- type definitions -->
 
-  <sectiontype type="loghandler" datatype="null">
-    <key name="constructor" datatype="constructor" required="yes"/>
-    <key name="formatter" datatype="constructor"
-         default="logging.Formatter()"/>
-  </sectiontype>
-
-  <sectiontype type="logger">
-     <key name="level" datatype="logging-level" default="info"/>
-     <multisection type="loghandler" attribute="handlers" name="*"/>
-  </sectiontype>
+  <import src="logger.xml"/>
 
   <sectiongroup type="server">