[Pvfs2-developers] libpvfs2 usage
Brett Bode
brett at scl.ameslab.gov
Wed Oct 18 11:06:30 EDT 2006
No I wasn't calling PVFS_sys_inititialize. I didn't even know about
it. It doesn't get called in pvfs2-cp, but that still works. I added
it with the argument of GOSSIP_NO_DEBUG, and I still fail to get any
output. I also tried some other arguements, but I still haven't seen
any debug output. I don't see the gossip_set_debug_mask function in
the installed pvfs2 headers. Is it an internal use only function?
Brett
On Oct 18, 2006, at 8:30 AM, Pete Wyckoff wrote:
> brett at scl.ameslab.gov wrote on Tue, 17 Oct 2006 21:58 -0500:
>> Hmm... is there anything you need to do in the app to activate the
>> debugging? After setting those vars I get the output from commands
>> such as pvfs2-ls, but I am not getting anything from my app.
>
> Odd. Are you calling PVFS_sys_initialize() like most apps? It is
> what looks at those environment variables.
>
> Also if you go out of your way to do one of:
>
> gossip_set_debug_mask(0, mask);
> gossip_disable()
>
> it will reset the debug settings enabled by the environment
> variables.
>
> -- Pete
More information about the Pvfs2-developers
mailing list