Ajax requests

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”}
e[4;36;1mSite Columns (0.000000)e[0m e[0;1mSHOW FIELDS FROM
sitese[0m
e[4;35;1mSite Load (0.016000)e[0m e[0mSELECT * FROM sites WHERE
(sites.domain = ‘localhost’ ) LIMIT 1e[0m
e[4;36;1mSite Load (0.000000)e[0m e[0;1mSELECT * FROM sites WHERE
(sites.domain = ‘confabb.com’ ) LIMIT 1e[0m
e[4;35;1mReview Load (0.000000)e[0m e[0mSELECT * FROM reviews ORDER
BY created_at desc LIMIT 4e[0m
e[4;36;1mUser Load (0.015000)e[0m e[0;1mSELECT * FROM users WHERE
(last_name like ‘k%’) e[0m
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]
e[4;35;1mUser Columns (0.016000)e[0m e[0mSHOW FIELDS FROM userse[0m
e[4;36;1mRole Columns (0.015000)e[0m e[0;1mSHOW FIELDS FROM
rolese[0m

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”}
e[4;35;1mSite Columns (0.000000)e[0m e[0mSHOW FIELDS FROM sitese[0m
e[4;36;1mSite Load (0.000000)e[0m e[0;1mSELECT * FROM sites WHERE
(sites.domain = ‘localhost’ ) LIMIT 1e[0m
e[4;35;1mSite Load (0.000000)e[0m e[0mSELECT * FROM sites WHERE
(sites.domain = ‘confabb.com’ ) LIMIT 1e[0m
e[4;36;1mReview Load (0.000000)e[0m e[0;1mSELECT * FROM reviews
ORDER BY created_at desc LIMIT 4e[0m
e[4;35;1mUser Load (0.000000)e[0m e[0mSELECT * FROM users WHERE
(users.id = ‘40’) LIMIT 1e[0m
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

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 advance

This is correct behavior. What do you need help with?

regards
john
–Greg

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

On Tue, Mar 06, 2007 at 05:44:26AM +0100, john wrote:

but it’s written to the production log file

Yes. 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 request

Sounds 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 brief

It 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