File: logger.xml

package info (click to toggle)
zconfig 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 936 kB
  • ctags: 778
  • sloc: python: 5,264; xml: 331; perl: 37; makefile: 25; 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>