# XMLRPC::Server logging question

**URL:** <https://www.ruby-forum.com/t/xmlrpc-server-logging-question/70498>\
**Category:** Ruby\
**Created:** [September 29, 2006, 6:11pm UTC](https://www.ruby-forum.com/t/xmlrpc-server-logging-question/70498 "2006-09-29T18:11:11Z")\
**Posts on this page:** 2\
**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, 6:11pm UTC](https://www.ruby-forum.com/t/xmlrpc-server-logging-question/70498/1 "2006-09-29T18:11:11Z")

</div>

Hello all.

I have a program that has a thread serving up an client API using  
XMLRPC::Server. 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 know that XMLRPC::Server  
creates a WEBrick::HTTPServer internally, and that is the object doing  
the logging. Is there a way to get at that WEBrick’s “:Logger”  
parameter?

Any ideas?

Thanks,  
~james

---

<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:** [October 21, 2006, 11:45pm UTC](https://www.ruby-forum.com/t/xmlrpc-server-logging-question/70498/2 "2006-10-21T23:45:03Z")

</div>

Did you ever solve this problem? I’m just trying to figure out how to  
turn off the WEBRick server logging altogether.

/adam

James Mills wrote:

> Hello all.
> 
> I have a program that has a thread serving up an client API using  
> XMLRPC::Server. 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 know that XMLRPC::Server  
> creates a WEBrick::HTTPServer internally, and that is the object doing  
> the logging. Is there a way to get at that WEBrick’s “:Logger”  
> parameter?
> 
> Any ideas?
> 
> Thanks,  
> ~james
