[MERGE/RFC] log start time
John Arbash Meinel
john at arbash-meinel.com
Wed Oct 29 19:48:02 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The attached patch makes a small change to add a startup time to the log
file.
Specifically it writes something like:
0.079 opening log file at: Wed Oct 29 14:44:19 2008
It happens at the end of _enable_default_logging()
The idea is that it can help you know when the command was run. As it
stands, mutter() only gives the time since bzrlib was imported. But that
doesn't tell me whether this command was 5 minutes ago, or 5 days ago.
Does this seem worthwhile?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkIvfIACgkQJdeBCYSNAAMbqQCdGl34gcv7MnxDVqyssTIDSAex
ZMUAoMkSPI94apHBvTWrMkpDYvTHd0wK
=j32Q
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: logging.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20081029/56ce6389/attachment.diff
More information about the bazaar
mailing list