Mercurial > libervia-backend
comparison sat_frontends/quick_frontend/quick_chat.py @ 2976:49458e12e414
quick frontends (app, chat): disabled the 2 most verbose logs, as they are barely useful and make reading logs difficult.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 30 Jun 2019 15:41:59 +0200 |
parents | ca55e02a6fc8 |
children | b5f8cb26ef6f |
comparison
equal
deleted
inserted
replaced
2975:d86ecc34516e | 2976:49458e12e414 |
---|---|
484 | 484 |
485 def setOccupants(self, occupants): | 485 def setOccupants(self, occupants): |
486 """Set the whole list of occupants""" | 486 """Set the whole list of occupants""" |
487 assert len(self.occupants) == 0 | 487 assert len(self.occupants) == 0 |
488 for nick, data in occupants.iteritems(): | 488 for nick, data in occupants.iteritems(): |
489 log.debug(u"adding occupant {nick} to {room}".format( | 489 # XXX: this log is disabled because it's really too verbose |
490 nick=nick, room=self.target)) | 490 # but kept commented as it may be useful for debugging |
491 # log.debug(u"adding occupant {nick} to {room}".format( | |
492 # nick=nick, room=self.target)) | |
491 self.occupants[nick] = Occupant(self, data, self.profile) | 493 self.occupants[nick] = Occupant(self, data, self.profile) |
492 | 494 |
493 def updateOccupants(self, occupants): | 495 def updateOccupants(self, occupants): |
494 """Update occupants list | 496 """Update occupants list |
495 | 497 |