~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Martin Pool
  • Date: 2005-09-13 05:22:41 UTC
  • Revision ID: mbp@sourcefrog.net-20050913052241-52dbd8e8ced620f6
- better BZR_DEBUG trace output

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
        
194
194
    if debug_flag:
195
195
        level = logging.DEBUG
 
196
        fmt = '%(levelname)8s: %(message)s'
 
197
        _stderr_handler.setFormatter(logging.Formatter(fmt))
196
198
    else:
197
199
        level = logging.INFO
198
200
        # show only summary of exceptions