Commit 7a37b870 authored by Jérome Perrin's avatar Jérome Perrin

configure log output to be similar to zope2.8's event.log


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22630 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e6d913db
...@@ -242,8 +242,8 @@ def runUnitTestList(test_list, verbosity=1, debug=0): ...@@ -242,8 +242,8 @@ def runUnitTestList(test_list, verbosity=1, debug=0):
from ZConfig.components.logger.handlers import FileHandlerFactory from ZConfig.components.logger.handlers import FileHandlerFactory
from ZConfig.components.logger.logger import EventLogFactory from ZConfig.components.logger.logger import EventLogFactory
import logging import logging
section = SectionValue({'dateformat': '%Y-%m-%dT%H:%M:%S', section = SectionValue({'dateformat': '%Y-%m-%d %H:%M:%S',
'format': '------\n%(asctime)s %(levelname)s %(name)s %(message)s', 'format': '%(asctime)s %(levelname)s %(name)s %(message)s',
'level': logging.INFO, 'level': logging.INFO,
'path': os.environ['EVENT_LOG_FILE']}, 'path': os.environ['EVENT_LOG_FILE']},
None, None) None, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment