]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Include filename explicitly in logging APIs
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Sep 2012 13:28:44 +0000 (14:28 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 28 Sep 2012 09:34:14 +0000 (10:34 +0100)
commit0225c566f4d58dac9cd1071c97c495c5beaf653e
treee3f69a874902575002e4016fa41ca55304936140
parent96a1be95efd850cb8d049a96e30789e64b173278
Include filename explicitly in logging APIs

Currently the logging APIs have a 'const char *category' parameter
which indicates where the log message comes from. This is typically
a combination of the __FILE__ string and other prefix. Split the
__FILE__ off into a dedicated parameter so it can passed to the
log outputs

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/internal.h
src/node_device/node_device_udev.c
src/util/logging.c
src/util/logging.h
src/util/viraudit.c
src/util/virterror.c
tests/testutils.c