File: logger.xml

package info (click to toggle)
zconfig 2.7.1-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 896 kB
  • ctags: 769
  • sloc: python: 5,196; xml: 329; perl: 37; makefile: 32; sh: 1
file content (12 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
<schema>
  <sectiontype name="loghandler">
    <key name="constructor" datatype="constructor" required="yes"/>
    <key name="formatter" datatype="constructor"
         default="logging.Formatter()"/>
  </sectiontype>

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