/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: Canonical.com Patch Queue Manager
  • Date: 2008-01-02 12:44:44 UTC
  • mfrom: (3150.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080102124444-b366gbq5zk8ka3c4
Don't use weekday names in the trace file (Lukas Lalinsky)

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)