summaryrefslogtreecommitdiff
path: root/src/rpc/virnetmessage.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2014-02-28 12:16:17 +0000
committerDaniel P. Berrange <berrange@redhat.com>2014-03-18 14:29:22 +0000
commit2835c1e730c01f52c41027e5241fa0ad465fce56 (patch)
treeb75253aa0f1e35071cd30b6a904c351a3ab3dd9e /src/rpc/virnetmessage.c
parent098dd79ee2657347a7585069a386a08eed8199e3 (diff)
downloadlibvirt-2835c1e730c01f52c41027e5241fa0ad465fce56.tar.gz
Add virLogSource variables to all source files
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>
Diffstat (limited to 'src/rpc/virnetmessage.c')
-rw-r--r--src/rpc/virnetmessage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/virnetmessage.c b/src/rpc/virnetmessage.c
index af074047ff..4e8e17de50 100644
--- a/src/rpc/virnetmessage.c
+++ b/src/rpc/virnetmessage.c
@@ -33,6 +33,8 @@
#define VIR_FROM_THIS VIR_FROM_RPC
+VIR_LOG_INIT("rpc.netmessage");
+
virNetMessagePtr virNetMessageNew(bool tracked)
{
virNetMessagePtr msg;