From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [Patch] libcldc: transition to applog, phase 1 Date: Tue, 11 Aug 2009 01:57:41 -0400 Message-ID: <4A810855.4000904@garzik.org> References: <20090810234745.7395b044@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090810234745.7395b044@redhat.com> Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Pete Zaitcev Cc: Project Hail List Pete Zaitcev wrote: > This patch transitions from printf-like to syslog-like API for > libcldc diagnostics. In the future, this allows to drop app_log() > from chunkd (tabled didn't even grow it). > > There's a small complication: one stdarg function cannot call > another, so we cannot just insert some shims... Or actually, we can. > The trick is to use printf into a local buffer, and then pass that down. > All of that is strictly temporary. If I'm not missing something, once > applications switch over, we'll just kill all of it and return to > what it was, only with syslog-like functions. I didn't even adjust > whitespace of ->app_log arguments as a pledge that it has to change > again anyway. > > Long story short, this should be safe to build in Koji without > resorting to chain builds. > > Signed-off-by: Pete Zaitcev applied