From: Brian Candler Date: 2011-10-03T17:36:04+09:00 Subject: Re: XMLRPC beginner confusion, Nikita Kuznetsov wrote in post #1024719: > This is all great, BUT ONE BIG ANNOYING THING: > > This is really the most important part for me. > > validation.sls.microsoft.com - - [03/Oct/2011:08:38:44 Romance Daylight > Time] "P > OST /RPC2 HTTP/1.1" 200 149 > - -> /RPC2 > > This is the output everytime the server sends a response to the client. > How can i get rid of this? I understand it must be in one of the files > that i am including. It looks like a log entry to me - something pretty useful for a server to generate, I'd say. If you want to find how it's generated, just look at the source code. On my system the code for xmlrpc/server is at /usr/lib/ruby/1.8/xmlrpc/server.rb And you'll find the documentation embedded: == Class Methods --- XMLRPC::Server.new( port=8080, host="127.0.0.1", maxConnections=4, stdlog=$stdout, audit=true, debug=true, *a ) Creates a new (({XMLRPC::Server})) instance, which is a XML-RPC server listening on port ((|port|)) and accepts requests for the host ((|host|)), which is by default only the localhost. The server is not started, to start it you have to call (()). You'll see the stdlog parameter is passed to WEBrick::Log.new. It should be easy from there to work out what to pass to suppress the log, or to write it to a file instead. -- Posted via http://www.ruby-forum.com/.