[libvirt] [PATCH] cleanup of loging definitions

Daniel Veillard veillard at redhat.com
Thu Nov 6 16:46:13 UTC 2008


On Thu, Nov 06, 2008 at 03:33:10PM +0100, Daniel Veillard wrote:
> On Thu, Nov 06, 2008 at 02:17:49PM +0000, Daniel P. Berrange wrote:
> > On Thu, Nov 06, 2008 at 02:16:52PM +0100, Daniel Veillard wrote:
> > >   Currently the debugFlag switch, the VIR_DEBUG, DEBUG and DEBUG0
> > > macros were scattered in various places, duplicated once (or twice)
> > > per generated binaries. This patch moves everything in one virtlog.h
> > > header, one virtlog.c file and set up the makefiles so that the
> > > various binaries refers to the same bits.
> > >   That's a cleanup with no functional change to prepare the real
> > > loging APIs, patch and the 2 new files attached,
> > 
> > ACK, this seems like a good idea considering we'll have more logging
> > stuff in the future. I'd prefer to drop the 'virt' prefix though and
> > just call it 'logging.c' or 'log.c'
> 
> Okay, I don't really care for the name, except I was wondering about log.h
> and since we prefer to align .c and .h names ...

  Okay, commited using logging.[ch]

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list