~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/__init__.py

  • Committer: Martin Pool
  • Date: 2005-09-12 09:49:46 UTC
  • Revision ID: mbp@sourcefrog.net-20050912094946-e714520ddcad4d8d
- change trace format for test logs

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
        hdlr = logging.StreamHandler(self._log_file)
68
68
        hdlr.setLevel(logging.DEBUG)
69
 
        hdlr.setFormatter(logging.Formatter('%(levelname)4.4s  %(message)s'))
 
69
        hdlr.setFormatter(logging.Formatter('%(levelname)8s  %(message)s'))
70
70
        logging.getLogger('').addHandler(hdlr)
71
71
        logging.getLogger('').setLevel(logging.DEBUG)
72
72
        self._log_hdlr = hdlr