Re: Python XMLRPC question

2009-10-15 Thread prasanna
Thanks a bunch. Qill give it a shot. --p On Oct 14, 8:18 pm, "Gabriel Genellina" wrote: > En Wed, 14 Oct 2009 22:08:09 -0300,prasanna   > escribió: > > > Out of curiosity--one more thing I haven't yet figured out, is there a > > xmlrpc command I can send that stops or restarts the server? > > If

Re: Python XMLRPC question

2009-10-14 Thread Gabriel Genellina
En Wed, 14 Oct 2009 22:08:09 -0300, prasanna escribió: Out of curiosity--one more thing I haven't yet figured out, is there a xmlrpc command I can send that stops or restarts the server? If you're using Python 2.6, the easiest way is to register its shutdown() method. Note that it *must*

Re: Python XMLRPC question

2009-10-14 Thread prasanna
On Oct 13, 1:22 pm, "Gabriel Genellina" wrote: > En Tue, 13 Oct 2009 16:55:09 -0300, Falcolas escribió: > > > > > > > On Oct 13, 12:47 pm,prasanna wrote: > >> In using Python's XMLRPC, there is a statement that gets printed on > >> stdout of the form: > >>                  localhost - - [12/Oct/2

Re: Python XMLRPC question

2009-10-13 Thread Falcolas
On Oct 13, 2:22 pm, "Gabriel Genellina" wrote: > En Tue, 13 Oct 2009 16:55:09 -0300, Falcolas escribió: [snip] > > Looks like the simplest way to change that would be to inherit from > > the SimpleXMLRPCRequestHandler class and implement your own > > log_request method. You could then pass that t

Re: Python XMLRPC question

2009-10-13 Thread Gabriel Genellina
En Tue, 13 Oct 2009 16:55:09 -0300, Falcolas escribió: On Oct 13, 12:47 pm, prasanna wrote: In using Python's XMLRPC, there is a statement that gets printed on stdout of the form:                  localhost - - [12/Oct/2009 23:36:12] "POST /RPC2 HTTP/ 1.0" 200 - Where does this message origi

Re: Python XMLRPC question

2009-10-13 Thread Falcolas
On Oct 13, 12:47 pm, prasanna wrote: > In using Python's XMLRPC, there is a statement that gets printed on > stdout of the form: >                  localhost - - [12/Oct/2009 23:36:12] "POST /RPC2 HTTP/ > 1.0" 200 - > > Where does this message originate? Can I turn it off, or at least > redirect i

Python XMLRPC question

2009-10-13 Thread prasanna
In using Python's XMLRPC, there is a statement that gets printed on stdout of the form: localhost - - [12/Oct/2009 23:36:12] "POST /RPC2 HTTP/ 1.0" 200 - Where does this message originate? Can I turn it off, or at least redirect it into a logging file? I am planning to run the ser