Show
Ignore:
Timestamp:
06/26/08 12:01:12 (5 months ago)
Author:
asterix
Message:

increase xmpppy verbosity when we use -l gajim=DEBUG

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/connection.py

    r9839 r9841  
    526526                                self.connection = None 
    527527                        if gajim.verbose: 
    528                                 con = common.xmpp.NonBlockingClient(self._hostname, caller = self, 
    529                                         on_connect = self.on_connect_success, 
     528                                if log.getEffectiveLevel() == logging.DEBUG: 
     529                                        d = ['always'] 
     530                                else: 
     531                                        d = ['always', 'nodebuilder'] 
     532                                con = common.xmpp.NonBlockingClient(self._hostname, debug = d, 
     533                                        caller = self, on_connect = self.on_connect_success, 
    530534                                        on_proxy_failure = self.on_proxy_failure, 
    531535                                        on_connect_failure = self.connect_to_next_type)