[Zope-Checkins] CVS: Zope - log.ini:1.1

Fred L. Drake, Jr. fred at zope.com
Tue Apr 13 15:47:33 EDT 2004


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv8793

Added Files:
	log.ini 
Log Message:
logging configuration for test.py


=== Added File Zope/log.ini ===
# This file configures the logging module for the test harness:
# critical errors are logged to testing.log; everything else is
# ignored.

# Documentation for the file format is at
# http://www.red-dove.com/python_logging.html#config

[logger_root]
level=CRITICAL
handlers=normal

[handler_normal]
class=FileHandler
level=NOTSET
formatter=common
args=('testing.log', 'a')
filename=testing.log
mode=a

[formatter_common]
format=------
       %(asctime)s %(levelname)s %(name)s %(message)s
datefmt=%Y-%m-%dT%H:%M:%S

[loggers]
keys=root

[handlers]
keys=normal

[formatters]
keys=common




More information about the Zope-Checkins mailing list