/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Vincent Ladeuil
  • Date: 2008-01-03 15:12:58 UTC
  • mfrom: (3158 +trunk)
  • mto: (3159.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3161.
  • Revision ID: v.ladeuil+lp@free.fr-20080103151258-idpzfox078f80vhe
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
            tf.write("bug reports to https://bugs.launchpad.net/bzr/+filebug\n\n")
192
192
        _file_handler = logging.StreamHandler(tf)
193
193
        fmt = r'[%(process)5d] %(asctime)s.%(msecs)03d %(levelname)s: %(message)s'
194
 
        datefmt = r'%a %H:%M:%S'
 
194
        datefmt = r'%Y-%m-%d %H:%M:%S'
195
195
        _file_handler.setFormatter(logging.Formatter(fmt, datefmt))
196
196
        _file_handler.setLevel(logging.DEBUG)
197
197
        logging.getLogger('').addHandler(_file_handler)