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

**URL:** <https://www.ruby-forum.com/t/overriding-webrick-httpservers-logger-when-calling-xmlrpc/70418>\
**Category:** Ruby\
**Created:** [September 29, 2006, 1:36am UTC](https://www.ruby-forum.com/t/overriding-webrick-httpservers-logger-when-calling-xmlrpc/70418 "2006-09-29T01:36:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Mills](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d78d45/32.png) [@James\_Mills](https://www.ruby-forum.com/u/James_Mills)\
**Post date:** [September 29, 2006, 1:36am UTC](https://www.ruby-forum.com/t/overriding-webrick-httpservers-logger-when-calling-xmlrpc/70418/1 "2006-09-29T01:36:17Z")

</div>

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
