enable nbxmpp logging when using -v
This commit is contained in:
		
							parent
							
								
									e5b629bea4
								
							
						
					
					
						commit
						c8c457318e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -163,9 +163,11 @@ def set_loglevels(loglevels_string):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def set_verbose():
 | 
					def set_verbose():
 | 
				
			||||||
    parseAndSetLogLevels('gajim=1')
 | 
					    parseAndSetLogLevels('gajim=1')
 | 
				
			||||||
 | 
					    parseAndSetLogLevels('.nbxmpp=1')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def set_quiet():
 | 
					def set_quiet():
 | 
				
			||||||
    parseAndSetLogLevels('gajim=CRITICAL')
 | 
					    parseAndSetLogLevels('gajim=CRITICAL')
 | 
				
			||||||
 | 
					    parseAndSetLogLevels('.nbxmpp=CRITICAL')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# tests
 | 
					# tests
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue