Mercurial > libervia-backend
comparison src/core/sat_main.py @ 1096:77751f5b2242
core: use of debug log instead of error when port default value is used
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 26 Jun 2014 14:59:02 +0200 |
parents | 0eefc74c346b |
children | 9ae01ccf89c1 |
comparison
equal
deleted
inserted
replaced
1095:ef7b7dd5c5db | 1096:77751f5b2242 |
---|---|
220 def _connectXMPPClient(self, profile): | 220 def _connectXMPPClient(self, profile): |
221 """This part is called from asyncConnect when we have loaded individual parameters from memory""" | 221 """This part is called from asyncConnect when we have loaded individual parameters from memory""" |
222 try: | 222 try: |
223 port = int(self.memory.getParamA(C.FORCE_PORT_PARAM, "Connection", profile_key=profile)) | 223 port = int(self.memory.getParamA(C.FORCE_PORT_PARAM, "Connection", profile_key=profile)) |
224 except ValueError: | 224 except ValueError: |
225 log.error(_("Can't parse port value, using default value")) | 225 log.debug(_("Can't parse port value, using default value")) |
226 port = None # will use default value 5222 or be retrieved from a DNS SRV record | 226 port = None # will use default value 5222 or be retrieved from a DNS SRV record |
227 | 227 |
228 password = yield self.memory.asyncGetParamA("Password", "Connection", profile_key=profile) | 228 password = yield self.memory.asyncGetParamA("Password", "Connection", profile_key=profile) |
229 current = self.profiles[profile] = xmpp.SatXMPPClient(self, profile, | 229 current = self.profiles[profile] = xmpp.SatXMPPClient(self, profile, |
230 jid.JID(self.memory.getParamA("JabberID", "Connection", profile_key=profile)), | 230 jid.JID(self.memory.getParamA("JabberID", "Connection", profile_key=profile)), |