From a8b15e6af57258972fea085487838b66a8237e94 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 4 May 2015 08:37:09 +0200 Subject: [PATCH] mpd: Include more context in >=INFO logging --- mopidy/mpd/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy/mpd/dispatcher.py b/mopidy/mpd/dispatcher.py index 5abc1b4b..10a05fcb 100644 --- a/mopidy/mpd/dispatcher.py +++ b/mopidy/mpd/dispatcher.py @@ -167,7 +167,7 @@ class MpdDispatcher(object): # TODO: check that blacklist items are valid commands? blacklist = self.config['mpd'].get('command_blacklist', []) if tokens and tokens[0] in blacklist: - logger.warning('Client sent us blacklisted command: %s', tokens[0]) + logger.warning('MPD client used blacklisted command: %s', tokens[0]) raise exceptions.MpdDisabled(command=tokens[0]) try: return protocol.commands.call(tokens, context=self.context)