On Wed, Jan 16, 2008 at 09:56:16AM +, Richard W.M. Jones wrote:
Daniel P. Berrange wrote:
How about this patch. I define VIR_DEBUG in src/internal.c. Each module
which wants to output debug messages adds
#define DEBUG(fmt,...) VIR_DEBUG(driver, fmt, __VA_ARGS__)
#define DEBUG0(msg)
On Sat, Jan 19, 2008 at 05:11:26AM -0500, Daniel Veillard wrote:
On Wed, Jan 16, 2008 at 09:56:16AM +, Richard W.M. Jones wrote:
Daniel P. Berrange wrote:
How about this patch. I define VIR_DEBUG in src/internal.c. Each module
which wants to output debug messages adds
#define
Daniel P. Berrange wrote:
How about this patch. I define VIR_DEBUG in src/internal.c. Each module
which wants to output debug messages adds
#define DEBUG(fmt,...) VIR_DEBUG(driver, fmt, __VA_ARGS__)
#define DEBUG0(msg) VIR_DEBUG(driver, %s, msg)
Changing 'driver' to whatever their module
On Mon, Jan 14, 2008 at 12:21:44PM +, Richard W.M. Jones wrote:
Daniel Veillard wrote:
On Wed, Jan 09, 2008 at 05:13:47AM +, Daniel P. Berrange wrote:
During development I like to have the --enable-debug flag enabled all the
time because its very handy at times. I don't want it spewing
On Tue, Jan 15, 2008 at 03:02:55PM +, Daniel P. Berrange wrote:
On Mon, Jan 14, 2008 at 12:21:44PM +, Richard W.M. Jones wrote:
Daniel Veillard wrote:
On Wed, Jan 09, 2008 at 05:13:47AM +, Daniel P. Berrange wrote:
During development I like to have the --enable-debug flag
Daniel Veillard wrote:
On Wed, Jan 09, 2008 at 05:13:47AM +, Daniel P. Berrange wrote:
During development I like to have the --enable-debug flag enabled all the
time because its very handy at times. I don't want it spewing to stderr
all the time though, just because I turned on the compile
During development I like to have the --enable-debug flag enabled all the
time because its very handy at times. I don't want it spewing to stderr
all the time though, just because I turned on the compile option. So this
patch adds an env variable 'LIBVIRT_DEBUG' which controls whether it is
chatty
On Wed, Jan 09, 2008 at 05:13:47AM +, Daniel P. Berrange wrote:
During development I like to have the --enable-debug flag enabled all the
time because its very handy at times. I don't want it spewing to stderr
all the time though, just because I turned on the compile option. So this
patch