# WEBrick Logging

**URL:** <https://www.ruby-forum.com/t/webrick-logging/139080>\
**Category:** Rails\
**Created:** [May 30, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/webrick-logging/139080 "2008-05-30T16:56:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Gose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Scott\_Gose](https://www.ruby-forum.com/u/Scott_Gose)\
**Post date:** [May 30, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/webrick-logging/139080/1 "2008-05-30T16:56:59Z")

</div>

Is there a way to get what’s in the development.log to output to  
WEBrick’s console?

When I’m developing a Rails app, I start the WEBrick server in one  
terminal:

$ ./script/server

Then I tail -f the development.log in another terminal window:

$ tail -f log/development.log

Is there a way to consolidate that?

Thanks,

-scott

---

<div class="post-metadata">

**Author:** ![Scott\_Gose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Scott\_Gose](https://www.ruby-forum.com/u/Scott_Gose)\
**Post date:** [May 30, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/webrick-logging/139080/2 "2008-05-30T18:00:00Z")

</div>

On 30 May 2008, at 14:11, Scott Gose wrote:

> $ tail -f log/development.log
> 
> Is there a way to consolidate that?

Not really an answer to your question, but if you install mongrel then  
script/server will output what it logs to development.log

Fred

---

<div class="post-metadata">

**Author:** ![Scott\_Gose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Scott\_Gose](https://www.ruby-forum.com/u/Scott_Gose)\
**Post date:** [May 30, 2008, 7:43pm UTC](https://www.ruby-forum.com/t/webrick-logging/139080/3 "2008-05-30T19:43:51Z")

</div>

I have the mongrel gem installed. Doesn’t script/server use that if  
it finds it?

Or do I have to call mongrel explicitly.

Thanks,

On Fri, May 30, 2008 at 8:12 AM, Frederick C.

---

<div class="post-metadata">

**Author:** ![Scott\_Gose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Scott\_Gose](https://www.ruby-forum.com/u/Scott_Gose)\
**Post date:** [May 30, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/webrick-logging/139080/4 "2008-05-30T20:40:17Z")

</div>

Hi Scott,

Scott Gose wrote:

> I have the mongrel gem installed. Doesn’t script/server  
> use that if it finds it?
> 
> Or do I have to call mongrel explicitly.

It depends on what version of Rails you’re running. Try “mongrel\_rails  
start”.

HTH,  
Bill

---

<div class="post-metadata">

**Author:** ![Scott\_Gose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b3f665/32.png) [@Scott\_Gose](https://www.ruby-forum.com/u/Scott_Gose)\
**Post date:** [May 30, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/webrick-logging/139080/5 "2008-05-30T19:50:55Z")

</div>

On May 30, 2:14 pm, “Scott Gose” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have the mongrel gem installed. Doesn’t script/server use that if  
> it finds it?
> 
> Or do I have to call mongrel explicitly.

It should use it automatically if available. Certainly does for me.

Fred
