From: Jeff Garzik <jeff@garzik.org>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: Colin McCabe <cmccabe@alumni.cmu.edu>,
Project Hail List <hail-devel@vger.kernel.org>,
Colin McCabe <cmccabe@cobalt.club.cc.cmu.edu>
Subject: Re: [PATCH 4/6] cld: modify server code to use logging macros
Date: Tue, 08 Dec 2009 16:28:33 -0500 [thread overview]
Message-ID: <4B1EC501.8090508@garzik.org> (raw)
In-Reply-To: <20091208111339.5c12115d@redhat.com>
On 12/08/2009 01:13 PM, Pete Zaitcev wrote:
> On Mon, 7 Dec 2009 16:43:02 -0800
> Colin McCabe<cmccabe@alumni.cmu.edu> 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
next prev parent reply other threads:[~2009-12-08 21:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-08 0:42 [PATCH 0/6] logging refactoring Colin McCabe
2009-12-08 0:42 ` [PATCH 1/6] cld: Declare common.c functions in common.h Colin McCabe
2009-12-08 0:43 ` [PATCH 2/6] cld: create logging macros Colin McCabe
2009-12-08 0:43 ` [PATCH 3/6] cld: modify client code to use " Colin McCabe
2009-12-08 0:43 ` [PATCH 4/6] cld: modify server " Colin McCabe
2009-12-08 0:43 ` [PATCH 5/6] cld: modify cld-dns " Colin McCabe
2009-12-08 0:43 ` [PATCH 6/6] cld: Tweak some log levels in cldc dns Colin McCabe
2009-12-08 18:13 ` [PATCH 4/6] cld: modify server code to use logging macros Pete Zaitcev
2009-12-08 19:08 ` Colin McCabe
2009-12-08 21:28 ` Jeff Garzik [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-12-09 0:11 [PATCH 0/6 v2] logging refactoring Colin McCabe
2009-12-09 0:11 ` [PATCH 4/6] cld: modify server code to use logging macros Colin McCabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B1EC501.8090508@garzik.org \
--to=jeff@garzik.org \
--cc=cmccabe@alumni.cmu.edu \
--cc=cmccabe@cobalt.club.cc.cmu.edu \
--cc=hail-devel@vger.kernel.org \
--cc=zaitcev@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.