Daniel P. Berrange cee61fc298 Imprint all logs with version + package build information
The logging functions are enhanced so that immediately prior to
the first log message being printed to any output channel, the
libvirt package version will be printed.

eg

 $ LIBVIRT_DEBUG=1 virsh
 18:13:28.013: 17536: info : libvirt version: 0.8.7
 18:13:28.013: 17536: debug : virInitialize:361 : register drivers
 ...

The 'configure' script gains two new arguments which can be
used as

   --with-packager="Fedora Project, x86-01.phx2.fedoraproject.org, 01-27-2011-18:00:10"
   --with-packager-version="1.fc14"

to allow distros to append a custom string with package specific
data.

The RPM specfile is modified so that it appends the RPM version,
the build host, the build date and the packager name.

eg

 $ LIBVIRT_DEBUG=1 virsh
 18:14:52.086: 17551: info : libvirt version: 0.8.7, package: 1.fc13 (Fedora Project, x86-01.phx2.fedoraproject.org, 01-27-2011-18:00:10)
 18:14:52.086: 17551: debug : virInitialize:361 : register drivers

Thus when distro packagers receive bug reports they can clearly
see what version was in use, even if the bug reporter mistakenly
or intentionally lies about version/builds

* src/util/logging.c: Output version data prior to first log message
* libvirt.spec.in: Include RPM release, date, hostname & packager
* configure.ac: Add --with-packager & --with-packager-version args
2011-02-11 14:13:08 +00:00
..
2010-05-21 16:02:18 -06:00
2010-11-22 16:43:29 -05:00
2010-11-22 16:43:29 -05:00
2010-09-23 10:37:10 +02:00
2010-12-01 10:00:10 -07:00
2010-10-13 13:50:07 +02:00
2010-02-01 09:39:54 -05:00
2010-12-02 16:00:47 -07:00
2010-03-29 18:21:04 +02:00
2010-06-02 21:35:22 -04:00
2011-02-03 08:58:45 -07:00
2010-05-06 14:35:38 -06:00
2010-02-19 11:52:04 +01:00
2011-02-08 19:37:21 -07:00
2011-02-08 19:37:21 -07:00
2010-12-09 11:39:17 -07:00
2011-01-03 14:45:00 -07:00
2010-06-10 06:05:31 -06:00
2010-12-02 11:23:15 -07:00