# No Log

**URL:** <https://www.ruby-forum.com/t/no-log/71394>\
**Category:** Rails\
**Created:** [February 21, 2006, 5:25pm UTC](https://www.ruby-forum.com/t/no-log/71394 "2006-02-21T17:25:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrwhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Post date:** [February 21, 2006, 5:25pm UTC](https://www.ruby-forum.com/t/no-log/71394/1 "2006-02-21T17:25:25Z")

</div>

I’m running an app under Apache/FastCGI and am trying to look at any log  
output. However no output to any of the logs is being done by the app!  
I have the app set to development mode.

I deleted all of the log files in the log directory and no new logs are  
being created (I assume that the app will create the logs as required).

What’s going on here?

Is there some sort of configuration for turning logs on and off?

---

<div class="post-metadata">

**Author:** ![rrwhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Post date:** [February 21, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/no-log/71394/2 "2006-02-21T19:00:40Z")

</div>

Am Dienstag, den 21.02.2006, 16:23 +0000 schrieb Richard W.:

> I’m running an app under Apache/FastCGI and am trying to look at any log  
> output. However no output to any of the logs is being done by the app!  
> I have the app set to development mode.
> 
> I deleted all of the log files in the log directory and no new logs are  
> being created (I assume that the app will create the logs as required).
> 
> What’s going on here?
> 
> Is there some sort of configuration for turning logs on and off?

Is the log directory writeable for the FCGI (Apache) user?

–  
Norman T.

[http://blog.inlet-media.de](http://blog.inlet-media.de)

---

<div class="post-metadata">

**Author:** ![rrwhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Post date:** [February 21, 2006, 7:25pm UTC](https://www.ruby-forum.com/t/no-log/71394/3 "2006-02-21T19:25:06Z")

</div>

Yes, it is writable. (drwxrwxrwx)

---

<div class="post-metadata">

**Author:** ![rrwhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Post date:** [February 21, 2006, 7:46pm UTC](https://www.ruby-forum.com/t/no-log/71394/4 "2006-02-21T19:46:29Z")

</div>

Am Dienstag, den 21.02.2006, 18:23 +0000 schrieb Richard W.:

> Yes, it is writable. (drwxrwxrwx)

Did you try to call the dispatch.fcgi script directly:

ruby disptach.fcgi

Is it anything saying about the Logger?

–  
Norman T.

[http://blog.inlet-media.de](http://blog.inlet-media.de)

---

<div class="post-metadata">

**Author:** ![rrwhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Post date:** [February 21, 2006, 10:11pm UTC](https://www.ruby-forum.com/t/no-log/71394/5 "2006-02-21T22:11:42Z")

</div>

On 21 Feb 2006 16:23:37 -0000, Richard W.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Is there some sort of configuration for turning logs on and off?  
> I had the same issue, solved it by explicitly setting the log level in  
> config/environment/production.rb. Try to add following statement to  
> the production.rb file:

config.log\_level = :debug

and restart it. If it logs something, raise the level to your needs.

For additional hints about logging in rails see  
[http://wiki.rubyonrails.org/rails/pages/HowtoConfigureLogging](http://wiki.rubyonrails.org/rails/pages/HowtoConfigureLogging)

HTH,  
Andreas

---

<div class="post-metadata">

**Author:** ![rrwhite](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Post date:** [February 21, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/no-log/71394/6 "2006-02-21T22:33:17Z")

</div>

I’m not sure if this is your issue, but I’ve witnessed this problem when  
the DB config was wrong - server start up would simply die with no logs  
at all.

On Tuesday, February 21, 2006, at 4:23 PM, Richard W. wrote:

> Is there some sort of configuration for turning logs on and off?
> 
> –  
> Posted with [http://DevLists.com](http://DevLists.com). Sign up and save your time!
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

Cheers!  
–Dave T.  
[http://devlists.com](http://devlists.com) - Email list management  
[http://palmsphere.com](http://palmsphere.com) - Apps for your hand-held
