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

J

James Mills

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top