Cleanup MPD logging
This commit is contained in:
parent
e4807d894f
commit
9ec4368651
@ -8,11 +8,11 @@ logger = logging.getLogger('mopidy.frontends.mpd.process')
|
||||
|
||||
class MpdProcess(BaseProcess):
|
||||
def __init__(self, core_queue):
|
||||
super(MpdProcess, self).__init__(name='MpdProcess')
|
||||
super(MpdProcess, self).__init__()
|
||||
self.name = 'MpdProcess'
|
||||
self.core_queue = core_queue
|
||||
|
||||
def run_inside_try(self):
|
||||
logger.debug(u'Starting MPD server process')
|
||||
server = MpdServer(self.core_queue)
|
||||
server.start()
|
||||
asyncore.loop()
|
||||
|
||||
@ -29,7 +29,7 @@ class MpdServer(asyncore.dispatcher):
|
||||
self.set_reuse_addr()
|
||||
hostname = self._format_hostname(settings.MPD_SERVER_HOSTNAME)
|
||||
port = settings.MPD_SERVER_PORT
|
||||
logger.debug(u'Binding to [%s]:%s', hostname, port)
|
||||
logger.debug(u'MPD server is binding to [%s]:%s', hostname, port)
|
||||
self.bind((hostname, port))
|
||||
self.listen(1)
|
||||
logger.info(u'MPD server running at [%s]:%s',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user