diff -r 2dfea125c76c -r 9e589622f097 gmyth-stream/server/0.2/lib/server.py --- a/gmyth-stream/server/0.2/lib/server.py Thu Apr 19 16:30:17 2007 +0100 +++ b/gmyth-stream/server/0.2/lib/server.py Thu Apr 19 23:03:58 2007 +0100 @@ -19,7 +19,7 @@ "load_plugins_transcoders") class Transcoder(object): - log = log.getLogger("gmyth-streamer.transcoder") + log = log.getLogger("gms.transcoder") priority = 0 # negative values have higher priorities name = None # to be used in requests @@ -62,18 +62,19 @@ def __str__(self): - return '%s("%s", mux="%s", params=%s)' % \ + return '%s("%s", mux="%s", params=%s, addr=%s)' % \ (self.__class__.__name__, self.params_first("uri", "None"), self.params_first("mux", "mpg"), - self.params) + self.params, + repr(self)) # __str__() # Transcoder class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): - log = log.getLogger("gmyth-streamer.request") + log = log.getLogger("gms.request") def_transcoder = None transcoders = utils.PluginSet(Transcoder) @@ -370,7 +371,7 @@ class Server(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer): - log = log.getLogger("gmyth-streamer.server") + log = log.getLogger("gms.server") run = True _transcoders = {} _lock = threading.RLock()