~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Jelmer Vernooij
  • Date: 2005-11-04 17:26:05 UTC
  • mfrom: (1185.16.146)
  • mto: (1185.33.1)
  • mto: This revision was merged to the branch mainline in revision 1509.
  • Revision ID: jelmer@samba.org-20051104172605-9288f261492667fd
MergeĀ fromĀ Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
# configure convenient aliases for output routines
86
86
 
87
87
_bzr_logger = logging.getLogger('bzr')
88
 
_bzr_logger.setLevel(logging.DEBUG) 
89
88
 
90
89
info = note = _bzr_logger.info
91
90
warning =   _bzr_logger.warning
203
202
 
204
203
    _stderr_handler.setLevel(logging.INFO)
205
204
    _file_handler.setLevel(level)
 
205
    _bzr_logger.setLevel(level) 
206
206
 
207
207
    logging.getLogger('').addHandler(_stderr_handler)
208
208