Network Solutions is really beginning to try my patience. Can anyone help me with get logs to work in a Production environment hosted on Network Solutions? I''ve edited envionment.rb to include "config.log_level = :debug", restarted the app. but I still get nothing in the log directory. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 23 April 2010 13:48, jrq <jerry.quartley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Network Solutions is really beginning to try my patience. Can anyone > help me with get logs to work in a Production environment hosted on > Network Solutions? > > I''ve edited envionment.rb to include "config.log_level = :debug", > restarted the app. but I still get nothing in the log directory.Have you checked it is not being overridden in environments/production.rb? Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Yes. There''s nothing in the environments/production.rb that should affect it: # Settings specified here will take precedence over those in config/ environment.rb # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Use a different logger for distributed setups # config.logger = SyslogLogger.new # Full error reports are disabled and caching is turned on config.action_controller.consider_all_requests_local = false config.action_controller.perform_caching = true config.action_view.cache_template_loading = true # Use a different cache store in production # config.cache_store = :mem_cache_store # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http:// assets.example.com" # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false On Apr 23, 12:35 pm, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 23 April 2010 13:48, jrq <jerry.quart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Network Solutions is really beginning to try my patience. Can anyone > > help me with get logs to work in a Production environment hosted on > > Network Solutions? > > > I''ve edited envionment.rb to include "config.log_level = :debug", > > restarted the app. but I still get nothing in the log directory. > > Have you checked it is not being overridden in environments/production.rb? > > Colin > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
may i ask what web server you''re using? On 23 April 2010 08:48, jrq <jerry.quartley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Network Solutions is really beginning to try my patience. Can anyone > help me with get logs to work in a Production environment hosted on > Network Solutions? > > I''ve edited envionment.rb to include "config.log_level = :debug", > restarted the app. but I still get nothing in the log directory. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Charles A. Lopez charlesalopez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org What''s your vision for your organization? What''s your biggest challenge? Let''s talk. (IBM Partner) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apache/2.2.8 (Unix) / Phusion_Passenger/2.0.6 On Apr 23, 3:51 pm, "Charles A. Lopez" <charlesalo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> may i ask what web server you''re using? > > On 23 April 2010 08:48, jrq <jerry.quart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Network Solutions is really beginning to try my patience. Can anyone > > help me with get logs to work in a Production environment hosted on > > Network Solutions? > > > I''ve edited envionment.rb to include "config.log_level = :debug", > > restarted the app. but I still get nothing in the log directory. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > Charles A. Lopez > charlesalo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > What''s your vision for your organization? > What''s your biggest challenge? > > Let''s talk. > (IBM Partner) > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apache/2.2.8 (Unix) / Phusion_Passenger/2.0.6 On Apr 23, 3:51 pm, "Charles A. Lopez" <charlesalo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> may i ask what web server you''re using? > > On 23 April 2010 08:48, jrq <jerry.quart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Network Solutions is really beginning to try my patience. Can anyone > > help me with get logs to work in a Production environment hosted on > > Network Solutions? > > > I''ve edited envionment.rb to include "config.log_level = :debug", > > restarted the app. but I still get nothing in the log directory. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > . > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > Charles A. Lopez > charlesalo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > What''s your vision for your organization? > What''s your biggest challenge? > > Let''s talk. > (IBM Partner) > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I''ve managed to get some output to the production.log file. By default Network Solutions creates the log files with 644, I think it needs 666. It''s hard to tell since there seems to be a buffer that has to fill before the write is actually executed. At least I can see why the app''s crashing. It''s claiming that the view is missing (it''s not). I wish I could get a response from these clowns to find out what they changed in the file system (or otherwise) that is causing this app to fail (it was working perfectly for weeks). On Apr 23, 3:59 pm, jrq <jerry.quart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Apache/2.2.8 (Unix) / Phusion_Passenger/2.0.6 > > On Apr 23, 3:51 pm, "Charles A. Lopez" <charlesalo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > may i ask what web server you''re using? > > > On 23 April 2010 08:48, jrq <jerry.quart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Network Solutions is really beginning to try my patience. Can anyone > > > help me with get logs to work in a Production environment hosted on > > > Network Solutions? > > > > I''ve edited envionment.rb to include "config.log_level = :debug", > > > restarted the app. but I still get nothing in the log directory. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Ruby on Rails: Talk" group. > > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm. > > > To unsubscribe from this group, send email to > > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > > Charles A. Lopez > > charlesalo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > > What''s your vision for your organization? > > What''s your biggest challenge? > > > Let''s talk. > > (IBM Partner) > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Here''s what I think happened: Network Solutions went into a complete tailspin over this recent hack of their file servers, and ran around altering permissions on directories and files left, right, and centre. All of this resulted in some very confused, and messed up applications. There''s a peculiar setting in their "FTP and Content Publishing" section called "Reset File Permissions". Now, to my eye there was nothing wrong with the permissions, but maybe it was an Owner/Group thing? Who knows since they still haven''t got back to me. With some hesitation I clicked the option, expecting it to break all manner of existing site, apps, etc, etc. Well, it seems to have fixed the Rails app, and the others look OK. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.