It is currently Wed Sep 08, 2010 5:16 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: VMM log output control
PostPosted: Fri Jan 29, 2010 8:10 am 
Offline

Joined: Sun Nov 29, 2009 10:46 am
Posts: 7
When I set vmm_log verbosity to debug, sometimes I only want to see my custom debug level messages (and not all the messages provided by vmm_channel and vmm_xactor). Is there a way to affect this at runtime?


Top
 Profile  
 
 Post subject: Re: VMM log output control
PostPosted: Tue Feb 02, 2010 3:10 am 
Offline

Joined: Fri Nov 06, 2009 1:07 am
Posts: 16
Quote:
Hi,
There is no runtime control available in such cases.
The other way is to call vmm_log::set_verbosity() on the vmm_channel and other base class log instances
and set its verbosity to non-debug one(normal, trace, warning etc) and then set +vmm_log_default=DEBUG.
vmm_log::set_verbosity() has a higher precedence and will override the runtime severity.

Thanks
Sadiya


Top
 Profile  
 
 Post subject: Re: VMM log output control
PostPosted: Tue Feb 09, 2010 6:58 am 
Offline

Joined: Sun Nov 29, 2009 10:46 am
Posts: 7
Thank you Sadiya. Your reply was very helpful.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group