logging

logging

am 04.10.2008 00:16:11 von Marc Fromm

--_000_B0D7C0A3F35FE144A70312D086CBCA9BF75C2048ExchMailbox2u ni_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We would like to log sql activity from our web pages that use postgresql da=
tabases.
I read the documentation for 8.1 at postgresql.org. The postgresql.conf fil=
e under the -Where to log- section has
#log_destination =3D 'stderr'
Is stderr the default or do I need to remove the comment symbol to actually=
start logging to stderr?
Are there recommended settings for all the different items in where to log,=
when to log, and what to log?

Our goal is to capture errors like when someone claims to have submitted da=
ta, yet it is not in the database, and the record count skips an increment-=
5360 then 5362, missing 5361.

Thanks


Marc


--_000_B0D7C0A3F35FE144A70312D086CBCA9BF75C2048ExchMailbox2u ni_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">












0.0pt;
font-family:Arial'>We would like to log sql activity from our web pages tha=
t
use postgresql databases.



0.0pt;
font-family:Arial'>I read the documentation for 8.1 at postgresql.org. The
postgresql.conf file under the -Where to log- section has
=



0.0pt;
font-family:Arial'>#log_destination =3D 'stderr'
<=
/p>

0.0pt;
font-family:Arial'>Is stderr the default or do I need to remove the comment
symbol to actually start logging to stderr?



0.0pt;
font-family:Arial'>Are there recommended settings for all the different ite=
ms
in where to log, when to log, and what to log?



0.0pt;
font-family:Arial'> 



0.0pt;
font-family:Arial'>Our goal is to capture errors like when someone claims t=
o
have submitted data, yet it is not in the database, and the record count sk=
ips
an increment—5360 then 5362, missing 5361.
p>

0.0pt;
font-family:Arial'> 



0.0pt;
font-family:Arial'>Thanks



0.0pt;
font-family:Arial'> 



0.0pt;
font-family:Arial'> 



t-size:10.0pt;
font-family:"Courier New"'>Marc



'font-size:
12.0pt'> 









--_000_B0D7C0A3F35FE144A70312D086CBCA9BF75C2048ExchMailbox2u ni_--

Re: logging

am 06.10.2008 10:17:26 von system

This is a multi-part message in MIME format.
--------------030903000704000907000400
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

yes, remove the comment character.

And further more, find my email post with subject "log_statement at
postgres.conf"

Regards,
Joko [IT/EDP]
PT. Indra Jaya Swastika
Phone: +62 31 7481388 Ext 201
http://www.ijs.co.id



Marc Fromm wrote:
>
> We would like to log sql activity from our web pages that use
> postgresql databases.
>
> I read the documentation for 8.1 at postgresql.org. The
> postgresql.conf file under the -Where to log- section has
>
> #log_destination = 'stderr'
>
> Is stderr the default or do I need to remove the comment symbol to
> actually start logging to stderr?
>
> Are there recommended settings for all the different items in where to
> log, when to log, and what to log?
>
>
>
> Our goal is to capture errors like when someone claims to have
> submitted data, yet it is not in the database, and the record count
> skips an increment---5360 then 5362, missing 5361.
>
>
>
> Thanks
>
>
>
>
>
> Marc
>
>
>


--
If you have any problem with our services ,
please contact us at 70468146 or e-mail: helpdesk@ijs.co.id
PT Indra Jaya Swastika | Jl. Kalianak Barat 57A | +62-31-7481388

--------------030903000704000907000400
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit







yes, remove the comment character.



And further more, find my email post with subject "log_statement at
postgres.conf"



Regards,
Joko [IT/EDP]
PT. Indra Jaya Swastika
Phone: +62 31 7481388 Ext 201





Marc Fromm wrote:
cite="mid:B0D7C0A3F35FE144A70312D086CBCA9BF75C2048@ExchMailb ox2.univ.dir.wwu.edu"
type="cite">




style="font-size: 10pt; font-family: Arial;">We would like to log sql
activity from our web pages that
use postgresql databases.


style="font-size: 10pt; font-family: Arial;">I read the documentation
for 8.1 at postgresql.org. The
postgresql.conf file under the -Where to log- section has


style="font-size: 10pt; font-family: Arial;">#log_destination =
'stderr'


style="font-size: 10pt; font-family: Arial;">Is stderr the default or
do I need to remove the comment
symbol to actually start logging to stderr?


style="font-size: 10pt; font-family: Arial;">Are there recommended
settings for all the different items
in where to log, when to log, and what to log?


style="font-size: 10pt; font-family: Arial;"> 


style="font-size: 10pt; font-family: Arial;">Our goal is to capture
errors like when someone claims to
have submitted data, yet it is not in the database, and the record
count skips
an increment—5360 then 5362, missing 5361.


style="font-size: 10pt; font-family: Arial;"> 


style="font-size: 10pt; font-family: Arial;">Thanks


style="font-size: 10pt; font-family: Arial;"> 


style="font-size: 10pt; font-family: Arial;"> 


style="font-size: 10pt; font-family: "Courier New";">Marc


style="font-size: 12pt;"> 











--

If you have any problem with our services ,

please contact us at 70468146 or e-mail: helpdesk@ijs.co.id

PT Indra Jaya Swastika | Jl. Kalianak Barat 57A | +62-31-7481388

--------------030903000704000907000400--