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? -- Posted with http://DevLists.com. Sign up and save your time!
Am Dienstag, den 21.02.2006, 16:23 +0000 schrieb Richard Williams:> 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 Timmler http://blog.inlet-media.de
Yes, it is writable. (drwxrwxrwx) -- Posted with http://DevLists.com. Sign up and save your time!
Am Dienstag, den 21.02.2006, 18:23 +0000 schrieb Richard Williams:> 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 Timmler http://blog.inlet-media.de
On 21 Feb 2006 16:23:37 -0000, Richard Williams <devlists-rubyonrails@devlists.com> wrote:> > 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?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> -- > Posted with http://DevLists.com. Sign up and save your time! > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
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 Williams wrote:> >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? > > >-- >Posted with http://DevLists.com. Sign up and save your time! >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/railsCheers! --Dave Teare http://devlists.com - Email list management http://palmsphere.com - Apps for your hand-held -- Posted with http://DevLists.com. Sign up and save your time!