Re: [PATCH 4/6] cld: modify server code to use logging macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/08/2009 01:13 PM, Pete Zaitcev wrote:
On Mon,  7 Dec 2009 16:43:02 -0800
Colin McCabe<cmccabe@xxxxxxxxxxxxxx>  wrote:

+++ b/server/cld.h
@@ -26,6 +26,7 @@
  #include<glib.h>
  #include "cldb.h"
  #include<cld_msg.h>
+#include "common.h"
  #include<libtimer.h>

This should be<common.h>  since it's common (in include).

-extern int debugging;
+extern struct cld_log srv_log;

-	applog(LOG_INFO, "databases down");
+	CLD_INFO(&srv_log, "databases down");

Great, you took code that was common across Hail and made it specific
to CLD again.

A fair point...  we did just finish changing from cldlog() to applog()

	Jeff




--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux