Mercurial > libervia-backend
diff src/plugins/plugin_misc_room_game.py @ 1908:ffcd7904b655
plugin room_game: decrease the level of two logging messages from warning to info
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 11 Mar 2016 16:38:23 +0100 |
parents | d17772b0fe22 |
children | 2daf7b4c6756 |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_room_game.py Fri Mar 11 12:31:33 2016 +0100 +++ b/src/plugins/plugin_misc_room_game.py Fri Mar 11 16:38:23 2016 +0100 @@ -515,10 +515,10 @@ if self._gameExists(room_jid): is_referee = self.isReferee(room_jid, user_nick) if self._gameExists(room_jid, started=True): - log.warning(_(u"%(game)s game already created in room %(room)s") % {'game': self.name, 'room': room_jid.userhost()}) + log.info(_(u"%(game)s game already created in room %(room)s") % {'game': self.name, 'room': room_jid.userhost()}) return False, is_referee elif not is_referee: - log.warning(_(u"%(game)s game in room %(room)s can only be created by %(user)s") % {'game': self.name, 'room': room_jid.userhost(), 'user': user_nick}) + log.info(_(u"%(game)s game in room %(room)s can only be created by %(user)s") % {'game': self.name, 'room': room_jid.userhost(), 'user': user_nick}) return False, False else: self._initGame(room_jid, user_nick)