[PVFS2-developers] [PATCH] initialize.c: Fix debug by environment

Yan Oventsu oventsu at gmail.com
Thu Jun 16 00:11:17 EDT 2005


> lroland at gmail.com wrote on Wed, 15 Jun 2005 18:23 +0200:
> I tend to disagree, this was just an idea to clear things up and
> allowing stuff like
> 
> export PVFS2_DEBUGMASK='GOSSIP_CLIENT_DEBUG'
>
> which I think is easier to use while developing (especially if you are
> testing parts of the code with a new homegrown debugging levels).
> Having both options would be the best solution I suppose.

I think your patch is a bit intrusive, disallowing the shorthands is
not the way to go. You are however right that using the masks directly
from the prompt is much easier and as you suggest having both options
will be the best. I hacked this together in the past because I needed
my own debug levels together with the default shorthands provided, if
I can find it somewhere I will post it.


Cheers,
Yan



More information about the PVFS2-developers mailing list