]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Print version info at start
authorIan Wienand <iwienand@redhat.com>
Thu, 4 Dec 2014 00:31:23 +0000 (11:31 +1100)
committerIan Wienand <iwienand@redhat.com>
Mon, 8 Dec 2014 00:47:31 +0000 (11:47 +1100)
commit44eed735187d8b29319e70ea4872ee53346fe6a0
tree08cdf405a44ac91b3c61faf096e2c0f01526b08e
parent333695c3e918a6c8e8064e77e344c3d1f94f7c56
Print version info at start

When debugging problems from logs, it would be useful to know what
version is running across program start and stop.  In one case I have
a suspicion that an upgrade was run inbetween but the logs don't help
identify that.

My first thought was to grab this from argparse just as --version
does, but that's not really currently possible [1].

The original starting message is probably irrelevant, but I realise
log messages tend to suffer from Hotel California syndrome; you can
check-in but you can never leave.

[1] http://bugs.python.org/issue9399

Change-Id: Ia1bfd2f3589b508e19fd8a94d59beaafd6d657d2
neutron/common/config.py