Rev 3151: Don't use weekday names in the trace file (Lukas Lalinsky) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Jan 2 12:44:52 GMT 2008


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 3151
revision-id:pqm at pqm.ubuntu.com-20080102124444-b366gbq5zk8ka3c4
parent: pqm at pqm.ubuntu.com-20080102092158-pz0zkj0mm2zbht1y
parent: ian.clatworthy at internode.on.net-20080102102622-lwzpzakb54rwrm67
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2008-01-02 12:44:44 +0000
message:
  Don't use weekday names in the trace file (Lukas Lalinsky)
modified:
  bzrlib/trace.py                trace.py-20050309040759-c8ed824bdcd4748a
    ------------------------------------------------------------
    revno: 3150.1.1
    revision-id:ian.clatworthy at internode.on.net-20080102102622-lwzpzakb54rwrm67
    parent: pqm at pqm.ubuntu.com-20080102092158-pz0zkj0mm2zbht1y
    parent: lalinsky at gmail.com-20071227114611-2h1a4ahulre0txp6
    committer: Ian Clatworthy <ian.clatworthy at internode.on.net>
    branch nick: ianc-integration
    timestamp: Wed 2008-01-02 20:26:22 +1000
    message:
      Don't use weekday names in the trace file (Lukas Lalinsky)
    modified:
      bzrlib/trace.py                trace.py-20050309040759-c8ed824bdcd4748a
    ------------------------------------------------------------
    revno: 3144.2.1
    revision-id:lalinsky at gmail.com-20071227114611-2h1a4ahulre0txp6
    parent: pqm at pqm.ubuntu.com-20071222080058-lra6luc153ex60w4
    committer: Lukáš Lalinský <lalinsky at gmail.com>
    branch nick: trace-date-format
    timestamp: Thu 2007-12-27 12:46:11 +0100
    message:
      Don't use weekday names in the trace file.
    modified:
      bzrlib/trace.py                trace.py-20050309040759-c8ed824bdcd4748a
=== modified file 'bzrlib/trace.py'
--- a/bzrlib/trace.py	2007-12-07 06:18:57 +0000
+++ b/bzrlib/trace.py	2007-12-27 11:46:11 +0000
@@ -191,7 +191,7 @@
             tf.write("bug reports to https://bugs.launchpad.net/bzr/+filebug\n\n")
         _file_handler = logging.StreamHandler(tf)
         fmt = r'[%(process)5d] %(asctime)s.%(msecs)03d %(levelname)s: %(message)s'
-        datefmt = r'%a %H:%M:%S'
+        datefmt = r'%Y-%m-%d %H:%M:%S'
         _file_handler.setFormatter(logging.Formatter(fmt, datefmt))
         _file_handler.setLevel(logging.DEBUG)
         logging.getLogger('').addHandler(_file_handler)




More information about the bazaar-commits mailing list