# How to get web server to display the server logs

**URL:** <https://www.ruby-forum.com/t/how-to-get-web-server-to-display-the-server-logs/135963>\
**Category:** Rails\
**Created:** [April 27, 2008, 4:22am UTC](https://www.ruby-forum.com/t/how-to-get-web-server-to-display-the-server-logs/135963 "2008-04-27T04:22:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eggman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/51bf81/32.png) [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Post date:** [April 27, 2008, 4:22am UTC](https://www.ruby-forum.com/t/how-to-get-web-server-to-display-the-server-logs/135963/1 "2008-04-27T04:22:12Z")

</div>

I’m just getting started on a mac and I’m starting the server with ./  
script/server, which starts up webrick. I’m used to having the console  
then display all the logs as I’m interacting with the application, but  
this isn’t happening. Can someone tell me what I need to do to solve  
this?

---

<div class="post-metadata">

**Author:** ![eggman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/51bf81/32.png) [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Post date:** [April 27, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/how-to-get-web-server-to-display-the-server-logs/135963/2 "2008-04-27T19:10:32Z")

</div>

On Apr 26, 8:21 pm, eggman2001 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’m just getting started on a mac  
> …  
> I’m used to having the console  
> then display all the logs as I’m interacting with the application,

Console doesn’t know about your Rails logs by default. In the Console  
app, you can use File → Open to select a specific log file for  
console to display.

You can also use Terminal. I use the `tail -f` command with the path  
to the log file (e.g., `tail -f log/development.log`). The -f argument  
tells tail to keep running and display anything that gets added to the  
file. Use control-c to interrupt tail and get back to the shell  
prompt.
