FWD: Re: proliferation of error messages, sample of error messages
am 04.05.2007 20:00:53 von mfanderson
John,
Here is a representative sample of the error output. Most of it has to
do with DBI. But then it will generate a whole bunch of purely perl error
messages about undefined variables, etc. However, while it is doing all
of this, the application appears to be doing exactly what it is supposed
to do!
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] <-
dbd_st_execute 0 rows, referer: http://pin51.ucdavis.edu/EnterSample.pl?
Login=tjmajcherek
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] <- execute,
referer: http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] =, referer:
http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] '0E0', referer:
http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] at RUE.pm line
3943, referer: http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] ->
fetchall_arrayref , referer: http://pin51.ucdavis.edu/EnterSample.pl?
Login=tjmajcherek
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] for
DBD::mysql::st (DBI::st=HASH(0xad2dd0), referer:
http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
[Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] ~0xc37890,
referer: http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
Mary
John Scoles wrote:
What are the messages???
----- Original Message -----
From: "Mary Anderson"
To:
Sent: Friday, May 04, 2007 1:04 PM
Subject: proliferation of error messages
>
> Hello all,
> My perl cgi script which runs dbi is generating error messages to
the
> logs just about everytime dbi is called. The program appears to be
> running
> correctly. How do I keep from getting the spurious messages sent?
>
> Mary Anderson
>
Re: FWD: Re: proliferation of error messages, sample of error messages
am 05.05.2007 07:18:34 von Alexander
Looks like DBI trace is enabled. Look at the DBI manpage for how to
enable and disable this feature. Can be done via Environment variables
or DBI method call.
Alexander
Mary Anderson wrote:
> John,
> Here is a representative sample of the error output. Most of it has to
> do with DBI. But then it will generate a whole bunch of purely perl error
> messages about undefined variables, etc. However, while it is doing all
> of this, the application appears to be doing exactly what it is supposed
> to do!
>
>
>
>
>
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] <-
> dbd_st_execute 0 rows, referer: http://pin51.ucdavis.edu/EnterSample.pl?
> Login=tjmajcherek
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] <- execute,
> referer: http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] =, referer:
> http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] '0E0', referer:
> http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] at RUE.pm line
> 3943, referer: http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] ->
> fetchall_arrayref , referer: http://pin51.ucdavis.edu/EnterSample.pl?
> Login=tjmajcherek
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] for
> DBD::mysql::st (DBI::st=HASH(0xad2dd0), referer:
> http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
> [Fri May 04 07:52:24 2007] [error] [client 63.92.219.234] ~0xc37890,
> referer: http://pin51.ucdavis.edu/EnterSample.pl?Login=tjmajcherek
>
> Mary
>
> John Scoles wrote:
>
> What are the messages???
>
> ----- Original Message -----
> From: "Mary Anderson"
> To:
> Sent: Friday, May 04, 2007 1:04 PM
> Subject: proliferation of error messages
>
>
>
>> Hello all,
>> My perl cgi script which runs dbi is generating error messages to
>>
> the
>
>> logs just about everytime dbi is called. The program appears to be
>> running
>> correctly. How do I keep from getting the spurious messages sent?
>>
>> Mary Anderson
>>
>>
--
Alexander Foken
mailto:alexander@foken.de http://www.foken.de/alexander/