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
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_--