Permalink
Browse files

Comment out one stray logging statement. Set to listen to all interfa…

…ces.
  • Loading branch information...
1 parent d803a0e commit cb280eb2bfd938ec6de0a87712e5ff9006b0f722 @mayhem committed Jan 12, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −1 coverart_redirect/request.py
  2. +1 −3 coverart_redirect_server.py
View
2 coverart_redirect/request.py
@@ -88,7 +88,7 @@ def handle(self, environ):
return ["400 Only release entities are supported currently", ""]
(code, response) = self.handle_redirect(entity, mbid.lower(), filename.encode('utf8'))
- logger.debug("Request %s %s %s:\n%s\n", entity, mbid, filename, response)
+ #logger.debug("Request %s %s %s:\n%s\n", entity, mbid, filename, response)
return code, response
if __name__ == '__main__':
View
4 coverart_redirect_server.py
@@ -10,14 +10,12 @@
application = make_application(config_path, static_path)
# TODO: Move this config file
-host = 'localhost'
+host = '0.0.0.0'
port = 8080
server = wsgiserver.CherryPyWSGIServer((host, port), application, server_name='coverartarchive.org')
cherrypy.config.update({
'log.screen': True,
- 'log.access_file': "logs/access.log",
- 'log.error_file': "logs/error.log",
"server.thread_pool" : 10
})
cherrypy.log("server starting")

0 comments on commit cb280eb

Please sign in to comment.