Mercurial > libervia-backend
changeset 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 | 0b748ad46ede |
children | 0681d69cbe0a |
files | src/plugins/plugin_misc_room_game.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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)