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,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top