| Author | 
		  Message
		 | 
		
		  | julie.merin | 
		  
		    
			  
				 Posted: Wed Dec 10, 2008 2:09 am    Post subject: Message broker logs | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 26 Nov 2008 Posts: 3
  
  | 
		  
		    
			  
				Does MB have broker level logs? Where are they stored and how to enable them? What are the logging levels?
 
 
please help me | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | AkankshA | 
		  
		    
			  
				 Posted: Wed Dec 10, 2008 2:22 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 12 Jan 2006 Posts: 1494 Location: Singapore 
  | 
		  
		    
			  
				we have user trace logs at execution group level.. _________________ Cheers | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Wed Dec 10, 2008 3:06 am    Post subject: Re: Message broker logs | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| julie.merin wrote: | 
   
  
	| Does MB have broker level logs? | 
   
 
 
 
Yes.
 
 
   
	| julie.merin wrote: | 
   
  
	|  Where are they stored and how to enable them? | 
   
 
 
 
Like most logs, they're written as text to the file system.
 
 
   
	| julie.merin wrote: | 
   
  
	|  What are the logging levels? | 
   
 
 
 
The levels at which logging is produced, but that's not important right now.  
 
 
IIRC there are 3 levels (4  if you include "none") described in the documentation. Note that higher levels of logging will affect performance as well as filling your file system.
 
 
   
	| julie.merin wrote: | 
   
  
	| please help me | 
   
 
 
 
Find a sandbox environment, perform some experiements, read the docs, perform some more experiements and get some formal training. WMB is not a straightforward product. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed Dec 10, 2008 3:15 am    Post subject: Re: Message broker logs | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| Vitor wrote: | 
   
  
	
   
	| julie.merin wrote: | 
   
  
	| Does MB have broker level logs? | 
   
 
 
 
Yes. | 
   
 
 
Only in the sense that bipBroker writes EG startup and shutdown level log events to the OS system log....
 
 
Which is not much, really. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Wed Dec 10, 2008 6:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | hopsala | 
		  
		    
			  
				 Posted: Wed Dec 10, 2008 10:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Guardian
 
 Joined: 24 Sep 2004 Posts: 960
  
  | 
		  
		    
			  
				You can also subscribe to broker administration topics. 
 
 
Open the "Subscriptions" tab under the configMgr in the Administration Perspective and click "Query". I think they're called $SYS/+/BrokerName or something. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | SAFraser | 
		  
		    
			  
				 Posted: Wed Dec 10, 2008 11:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Shaman
 
 Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA 
  | 
		  
		    
			  
				On Solaris (I don't know about other OS), the output from WMB can be redirected from the OS system log to a log of your choosing.
 
 
Add to syslog.conf:
 
user.debug      <full path to new log location.logName>
 
 
The two attributes MUST be separated by a tab, not spaces, in syslog.conf.  Then you will need to re-read syslogd to make it effective.
 
 
As a bonus, you'll also see entries for MQ FFST file creation.
 
 
I prefer having these log entries separate from the system log. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |