WEBrick Logging

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

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

Fred

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,

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

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