Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ces.
  • Loading branch information...
commit cb280eb2bfd938ec6de0a87712e5ff9006b0f722 1 parent d803a0e
Robert Kaye authored
Showing with 2 additions and 4 deletions.
  1. +1 −1  coverart_redirect/request.py
  2. +1 −3 coverart_redirect_server.py
2  coverart_redirect/request.py
View
@@ -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__':
4 coverart_redirect_server.py
View
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.