[Twisted-Python] Twisted Reverse Proxy

2010-10-16 Thread disappearedng
Hello everyone, I am deploying twisted as a web server for my site. I am looking into possibilities of reverse proxying. I have the following code right now hooked up to my reactor for django. I am using comet, and I realize that I absolutely must use port 80 hence I am looking into possibilities

Re: [Twisted-Python] Multiple Sources for Logging

2010-08-17 Thread disappearedng
Yes Server.site does indeed take a logPath arg. Now how can I amend my code so that I can see both sys.stdout and my log file both being written at the same time? ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/c

[Twisted-Python] Multiple Sources for Logging

2010-08-16 Thread disappearedng
Dear Everyone, I am running WSGI inside my twisted server. I am currently using startLogging, but I am interested in separating the two sources of logs into different destinations, i.e. different log files. Take a look at my log: 2010-08-17 00:20:19-0400 [-] Log opened./ 2010-08-17 00:20:19-0400

[Twisted-Python] Twisted.web.client.getPage with proxy?

2009-08-03 Thread disappearedng
Hello world, 1) I have a proxy server running on my computer on port . It's listening on localhost. I am wondering whether Twisted.web.client.getPage has some sort of proxy kwargs that can do this for me. ( I checked the source and I really doubt it has something like that) What are my alternat