No Log

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?

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

Yes, it is writable. (drwxrwxrwx)

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

On 21 Feb 2006 16:23:37 -0000, Richard W.
[email protected] 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

HTH,
Andreas

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. Sign up and save your time!


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

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