From cdff2852b4afab725d3fedacb88bb39792535f40 Mon Sep 17 00:00:00 2001 From: souliane Date: Fri, 11 Mar 2016 16:38:23 +0100 Subject: [PATCH] plugin room_game: decrease the level of two logging messages from warning to info --- src/plugins/plugin_misc_room_game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/plugin_misc_room_game.py b/src/plugins/plugin_misc_room_game.py index 8c623ed0..009067aa 100644 --- a/src/plugins/plugin_misc_room_game.py +++ b/src/plugins/plugin_misc_room_game.py @@ -515,10 +515,10 @@ class RoomGame(object): 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)