every ajax request is written to the log file? can anyone help me in this regard? Processing HomeController#get_speakers (for 127.0.0.1 at 2007-03-05 13:04:56) [POST] Session ID: 814981131b5955eb11b7a0dfa8d100a1 Parameters: {"x"=>"1", "action"=>"get_speakers", "lastname"=>"k", "controller"=>"home", "formname"=>"sessions", "fieldname"=>"speakermatchfield1"} [4;36;1mSite Columns (0.000000) [0;1mSHOW FIELDS FROM sites [4;35;1mSite Load (0.016000) SELECT * FROM sites WHERE (sites.`domain` = ''localhost'' ) LIMIT 1 [4;36;1mSite Load (0.000000) [0;1mSELECT * FROM sites WHERE (sites.`domain` = ''confabb.com'' ) LIMIT 1 [4;35;1mReview Load (0.000000) SELECT * FROM reviews ORDER BY created_at desc LIMIT 4 [4;36;1mUser Load (0.015000) [0;1mSELECT * FROM users WHERE (last_name like ''k%'') Rendering home/get_speakers Completed in 0.09400 (10 reqs/sec) | Rendering: 0.03200 (34%) | DB: 0.06200 (65%) | 200 OK [http://localhost/home/get_speakers?x=1&formname=sessions&fieldname=speakermatchfield1] [4;35;1mUser Columns (0.016000) SHOW FIELDS FROM users [4;36;1mRole Columns (0.015000) [0;1mSHOW FIELDS FROM roles Processing HomeController#get_speakernames (for 127.0.0.1 at 2007-03-05 13:04:59) [POST] Session ID: 814981131b5955eb11b7a0dfa8d100a1 Parameters: {"x"=>"1", "action"=>"get_speakernames", "id"=>"40", "controller"=>"home", "formname"=>"sessions", "fieldname"=>"speakername1"} [4;35;1mSite Columns (0.000000) SHOW FIELDS FROM sites [4;36;1mSite Load (0.000000) [0;1mSELECT * FROM sites WHERE (sites.`domain` = ''localhost'' ) LIMIT 1 [4;35;1mSite Load (0.000000) SELECT * FROM sites WHERE (sites.`domain` = ''confabb.com'' ) LIMIT 1 [4;36;1mReview Load (0.000000) [0;1mSELECT * FROM reviews ORDER BY created_at desc LIMIT 4 [4;35;1mUser Load (0.000000) SELECT * FROM users WHERE (users.id = ''40'') LIMIT 1 Rendering home/get_speakernames Completed in 0.10900 (9 reqs/sec) | Rendering: 0.03100 (28%) | DB: 0.03100 (28%) | 200 OK [http://localhost/home/get_speakernames?x=1&formname=sessions&fieldname=speakername1] thanks in advance regards john -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
On Mon, Mar 05, 2007 at 01:14:10PM +0100, john wrote:> every ajax request is written to the log file?Yes.> can anyone help me in this regard?[...]> thanks in advanceThis is correct behavior. What do you need help with?> regards > john--Greg --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
but it''s written to the production log file the client says he can see the request? and he doesn''t want to see the request greg please explain me in brief -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Mar 06, 2007 at 05:44:26AM +0100, john wrote:> but it''s written to the production log fileYes. Again, this is correct behavior.> the client says he can see the request?In the log file, as expected? Or in some other way?> and he doesn''t want to see the requestSounds like you need to change the logger configuration. Look at the config/environment.rb and config/environments/production.rb files to set things up the way you want them.> greg > > please explain me in briefIt is clear that English is not your native language, for which I will make allowances. Even so, you aren''t really asking questions or giving enough information to get the help you seem to need. I can make guesses about what you''re trying to do, but they are just guesses. Worse, the impression I''m getting is that you are selling services based on your Rails expertise without having actually learned the basics of how to develop with it. I hope I''m wrong about that and it''s just a language problem, but if I''m right then you are doing a disservice to every competent Rails contractor out there by attempting to sell something you can''t deliver. --Greg --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---