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

Lars Roland lroland at gmail.com
Wed Jun 15 22:53:48 EDT 2005


On 6/15/05, Pete Wyckoff <pw at osc.edu> wrote:
> lroland at gmail.com wrote on Wed, 15 Jun 2005 18:23 +0200:
> > Trivial patch that fixes debug by the use of environment variables i.e
> > stuff like
> >
> > export PVFS2_DEBUGMASK='GOSSIP_CLIENT_DEBUG'
> >
> > should now make debugging work.
> 
> Try PVFS2_DEBUGMASK=client
> or

Yep I know but to me it is much more clear what debugging level you
get when you use the actual debugging mask in the environment variable

> 
> The idea, I think, was that this would be easier and more flexible.

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.


Regards.

Lars Roland



More information about the PVFS2-developers mailing list