Indicate connection type in log message

This commit is contained in:
Thomas Adamcik 2011-07-14 14:02:36 +02:00
parent fe6e4a65f5
commit 96ebb4eed4

View File

@ -54,7 +54,7 @@ class MpdSession(network.LineProtocol):
self.dispatcher = dispatcher.MpdDispatcher(self)
def on_start(self):
logger.info(u'New connection from [%s]:%s', self.host, self.port)
logger.info(u'New MPD connection from [%s]:%s', self.host, self.port)
self.send_lines([u'OK MPD %s' % protocol.VERSION])
def on_line_received(self, line):