
On 03/03/2014 02:18 PM, Daniel P. Berrange wrote:
Any source file which calls the logging APIs now needs to have a VIR_LOG_INIT("source.name") declaration at the start of the file. This provides a static variable of the virLogSource type.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com> ---
<...snip...> I found just one typo - I assume this is added anywhere a VIR_FROM_THIS was found (although I didn't check :-))
diff --git a/src/locking/lock_daemon_config.c b/src/locking/lock_daemon_config.c index 8e632f5..c7d9d97 100644 --- a/src/locking/lock_daemon_config.c +++ b/src/locking/lock_daemon_config.c @@ -35,6 +35,8 @@
#define VIR_FROM_THIS VIR_FROM_CONF
+VIR_LOG_INIT("locking.lock_daemon_confijg"); +
s/lock_daemon_confijg/lock_daemon_config
/* A helper function used by each of the following macros. */ static int
ACK John