[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Overriding WEBrick::HTTPServer's :Logger when calling XMLRPC::Server

James Mills

9/28/2006 11:36:00 PM

Hello all.

I have a program that has a thread serving up an XMLRPC API. Up to
this point, I have been happy letting it log eveything to stdout.
However, as I move forward, I want to combine every log event in my
program into a single log file. I am using the Logger class for
eveything else in the program, but I cannot find a way to tell
XMLRPC::Server to use it. I can tell XMLRPC to override the stdout
portion of WEBrick's log, but not a direct override of the :Logger
object.

Any ideas?

Thanks,
~james