Received: from www.aldratech.com ([213.157.162.9]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g16BUoE14584 for ; Wed, 6 Feb 2002 06:30:50 -0500 (EST) (envelope-from radu.popescu@aldratech.com) Message-ID: <004501c1af02$13435620$0600a8c0@rpopescu> From: "Radu-Adrian Popescu" To: "Manuel Trujillo" , "pg-admin" References: <1012994494.2512.33.camel@klingon> Subject: Re: starting log problems Date: Wed, 6 Feb 2002 13:33:19 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0042_01C1AF12.D6C79240" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Received: from rpopescu ([192.168.0.6]) by mail.aldratech.com (JAMES SMTP Server 1.2.1rc2) with SMTP ID 583; Wed, 6 Feb 2002 13:30:06 +0200 X-Archive-Number: 200202/37 X-Sequence-Number: 3199 This is a multi-part message in MIME format. ------=_NextPart_000_0042_01C1AF12.D6C79240 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My postmaster is started with : su -l postgres -s /bin/sh -c "/usr/local/pgsql/bin/pg_ctl -D $PGDATA -o "-i= " -p /usr/local/pgsql/bin/postmaster start >> /var/log/pgsql 2>&1" < /dev/= null This is an excerpt from my data/postgresql.conf file, that sets (some) logg= ing parameters : ## Debug display##silent_mode =3D false log_connections =3D truelog_timestamp =3D true#log_pid =3D false #debug_level =3D 0 # range 0-16 debug_print_query =3D true#debug_print_parse =3D false#debug_print_rewritte= n =3D false#debug_print_plan =3D falsedebug_pretty_print =3D true > Hi.> > I've got compiled a postgresql-7.1.3 into a Debian Sid box (linux)= . All> works fine, but sometimes, when I go to look the log, this is set to= > "zero", is empty. The postgresql don't write anything into it file.> I do= n't know if it occurs when stop-start postgres, or has any problem,> or... = well, i don't know.> In the syslog, messages, or any sistem-log, don't show= any problem... =BF?> > Anybody can help me, please?> Excuse me my bad engl= ish... :(> > Have a nice day ;-)> TooManySecrets> > > > -------------------= --------(end of broadcast)---------------------------> TIP 6: Have you sear= ched our list archives?> > http://archives.postgresql.org ------=_NextPart_000_0042_01C1AF12.D6C79240 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
My postmaster is started with :
su -l postgres -s /bin/sh -c "/usr/local/pgsql/bin/pg_ctl -D $PGDATA=
 -o "-i" -p /usr/local/pgsql/bin/postmaster start  >> /var/log/p=
gsql 2>&1" < /dev/null
This is an excerpt from my=20 data/postgresql.conf file, that sets (some) logging parameters :
#
#       Debug display
#
#si= lent_mode =3D false
log_connections =3D true
log_timestamp =3D= true
#log_pid =3D false
#debug_level =3D 0 # range 0-16
=
debug_print_query =3D true
#debug_print_parse =3D false
#debug_p= rint_rewritten =3D false
#debug_print_plan =3D false
debug_pretty_pri= nt =3D true


> Hi.
>
> I've got compiled a postgre= sql-7.1.3 into a Debian Sid box (linux). All
> works fine, but someti= mes, when I go to look the log, this is set to
> "zero", is empty. Th= e postgresql don't write anything into it file.
> I don't know if it = occurs when stop-start postgres, or has any problem,
> or... well, i = don't know.
> In the syslog, messages, or any sistem-log, don't show = any problem... =BF?
>
> Anybody can help me, please?
> E= xcuse me my bad english... :(
>
> Have a nice day ;-)
> = TooManySecrets
>
>
>
> -------------------------= --(end of broadcast)---------------------------
> TIP 6: Have you sea= rched our list archives?
>
>
http://archives.postgresql.org=
------=_NextPart_000_0042_01C1AF12.D6C79240--