From arumugam_ask@sifycorp.com Fri Jul 4 16:41:04 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id E76ADB43E21 for ; Fri, 4 Jul 2003 16:41:04 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 50337-03 for ; Fri, 4 Jul 2003 13:40:54 -0300 (ADT) Received: from hub.org (hub.org [64.117.225.220]) by svr1.postgresql.org (Postfix) with ESMTP id 77EABB43E22 for ; Fri, 4 Jul 2003 13:40:54 -0300 (ADT) Received: from hub.org (unknown [64.117.225.220]) by hub.org (Postfix) with ESMTP id 564A95B982B for ; Fri, 4 Jul 2003 13:40:54 -0300 (ADT) X-Received: from localhost ([unix socket]) by hub.org (Cyrus v2.2.prealpha) with LMTP; Fri, 04 Jul 2003 13:02:25 -0300 X-Sieve: CMU Sieve 2.2 X-Received: from sifycorp.com (unknown [202.144.74.140]) by hub.org (Postfix) with SMTP id 4FE4C5B702E for ; Fri, 4 Jul 2003 13:02:17 -0300 (ADT) X-Received: (sifymail 18483 invoked by uid 7797); 5 Jul 2003 21:24:30 +0530 X-Received: from 10.1.8.62 (HELO sifycorp.com) (10.1.8.62) by 10.1.8.62 with SMTP; 5 Jul 2003 21:24:30 +0530 X-Received: (sifymail 18478 invoked by uid 7797); 5 Jul 2003 21:24:30 +0530 X-Received: from 210.210.122.55 (HELO tdla2048c) (210.210.122.55) by 10.1.8.61 with SMTP; 5 Jul 2003 21:24:30 +0530 Message-ID: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in> Reply-To: "Arumugam" From: "Arumugam" To: Subject: Pls. help me to clarify my doubts. Date: Fri, 4 Jul 2003 21:25:00 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02B8_01C34272.B99AF0F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) ReSent-Date: Fri, 4 Jul 2003 13:40:50 -0300 (ADT) Resent-From: "Marc G. Fournier" Resent-To: pgsql-admin@postgresql.org ReSent-Subject: Pls. help me to clarify my doubts. ReSent-Message-ID: <20030704134050.A57947@hub.org> X-Archive-Number: 200307/48 X-Sequence-Number: 9389 This is a multi-part message in MIME format. ------=_NextPart_000_02B8_01C34272.B99AF0F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi, Sir, i follow your procedure of Postgres installation (version 7.1.3) on li= nux 2.4.7-10. I want to know how to enable syslog and mention the log information will st= ore in /var/postgreslog directory path.. Then, give me the complete information & steps for installtion of postgres = 7.1.3 and enable logs. I need this logs will contains the all errors will stores. This logs just l= ike a alertlog in oracle. Kindly, give me this details as soonly, Regards, arumugam. ------=_NextPart_000_02B8_01C34272.B99AF0F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi,
 
Sir, i follow your procedure of Postgres= =20 installation (version 7.1.3) on linux 2.4.7-10.
 
I want to know how to enable syslog and me= ntion the=20 log information will store in /var/postgreslog directory path..
 
Then, give me the complete information &am= p; steps=20 for installtion of postgres 7.1.3 and enable logs.
 
I need this logs will contains the all err= ors will=20 stores. This logs just like a alertlog in oracle.
 
Kindly, give me this details as=20 soonly,
 
Regards,
arumugam.
------=_NextPart_000_02B8_01C34272.B99AF0F0-- From mallah@trade-india.com Sun Jul 6 06:15:23 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 50DAAB42001 for ; Sun, 6 Jul 2003 06:15:23 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 33126-03 for ; Sun, 6 Jul 2003 03:15:11 -0300 (ADT) Received: from trade-india.com (ns1.trade-india.com [66.234.10.14]) by svr1.postgresql.org (Postfix) with SMTP id 32253B42000 for ; Sun, 6 Jul 2003 03:15:11 -0300 (ADT) Received: (qmail 13168 invoked by uid 505); 6 Jul 2003 06:15:25 -0000 Received: from mallah@trade-india.com by ns1.trade-india.com by uid 502 with qmail-scanner-1.16 (clamscan: 0.54. spamassassin: 2.54. Clear:SA:0(-100.1/5.0):. Processed in 0.590663 secs); 06 Jul 2003 06:15:25 -0000 Received: from ns1.trade-india.com (HELO trade-india.com) (66.234.10.14) by ns1.trade-india.com with SMTP; 6 Jul 2003 06:15:25 -0000 Received: from 219.65.226.136 (SquirrelMail authenticated user mallah) by mail.trade-india.com with HTTP; Sun, 6 Jul 2003 11:45:25 +0530 (IST) Message-ID: <1069.219.65.226.136.1057472125.squirrel@mail.trade-india.com> Date: Sun, 6 Jul 2003 11:45:25 +0530 (IST) Subject: Re: Pls. help me to clarify my doubts. From: To: In-Reply-To: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in> References: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/51 X-Sequence-Number: 9392 > hi, > > Sir, i follow your procedure of Postgres installation (version 7.1.3) > on linux 2.4.7-10. > > I want to know how to enable syslog and mention the log information > will store in /var/postgreslog directory path.. not sure abt 7.1.3 , but in 7.3.3 u can do the following. In postgresql.conf file # # Syslog # syslog = 2 # range 0-2 syslog_facility = 'LOCAL0' syslog_ident = 'postgres' in /etc/syslog.conf file local0.* /var/postgreslog note that this will put *all* the messages from all applications using local0 facility to /var/postgreslog regds mallah. > > Then, give me the complete information & steps for installtion of > postgres 7.1.3 and enable logs. > > I need this logs will contains the all errors will stores. This logs > just like a alertlog in oracle. > > Kindly, give me this details as soonly, > > Regards, > arumugam. ----------------------------------------- Get your free web based email at trade-india.com. "India's Leading B2B eMarketplace.!" http://www.trade-india.com/ From gmendola@mbigroup.it Sun Jul 6 09:46:12 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 76B3BB430CD for ; Sun, 6 Jul 2003 09:46:12 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 84666-03 for ; Sun, 6 Jul 2003 06:45:41 -0300 (ADT) Received: from smtp.noos.fr (nan-smtp-09.noos.net [212.198.2.80]) by svr1.postgresql.org (Postfix) with ESMTP id 478C1B430A9 for ; Sun, 6 Jul 2003 06:45:40 -0300 (ADT) Received: (qmail 81108146 invoked by uid 0); 6 Jul 2003 09:45:38 -0000 Received: from unknown (HELO gmendola) ([212.198.37.110]) (envelope-sender ) by 212.198.2.80 (qmail-ldap-1.03) with SMTP for ; 6 Jul 2003 09:45:38 -0000 Message-ID: <002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org> From: "Gaetano Mendola" To: , Cc: References: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in> <1069.219.65.226.136.1057472125.squirrel@mail.trade-india.com> Subject: Re: Pls. help me to clarify my doubts. Date: Sun, 6 Jul 2003 11:44:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/54 X-Sequence-Number: 9395 wrote: > > hi, > > > > Sir, i follow your procedure of Postgres installation (version 7.1.3) > > on linux 2.4.7-10. > > > > I want to know how to enable syslog and mention the log information > > will store in /var/postgreslog directory path.. > > not sure abt 7.1.3 , but in 7.3.3 u can do the following. > > In postgresql.conf file > > # > # Syslog > # > syslog = 2 # range 0-2 > syslog_facility = 'LOCAL0' > syslog_ident = 'postgres' > > > in /etc/syslog.conf file > local0.* /var/postgreslog I remember you also that you can turn off the syslog to fsync each log to the file putting a "-" before the filename: local0.* -/var/postgreslog this should increase the log performances Regards Gaetano Mendola From oderbolz@ecologic.de Mon Jul 7 10:33:34 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 4D1E2B42167 for ; Mon, 7 Jul 2003 10:33:34 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 15933-06 for ; Mon, 7 Jul 2003 07:33:22 -0300 (ADT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by svr1.postgresql.org (Postfix) with ESMTP id AB66DB43960 for ; Mon, 7 Jul 2003 07:33:21 -0300 (ADT) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19ZTJD-0000Sz-00 for pgsql-admin@postgresql.org; Mon, 07 Jul 2003 12:33:23 +0200 Received: from [217.230.192.254] (helo=ecologic.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19ZTJD-0002ef-00 for pgsql-admin@postgresql.org; Mon, 07 Jul 2003 12:33:23 +0200 Message-ID: <3F094C71.4080006@ecologic.de> Date: Mon, 07 Jul 2003 12:33:21 +0200 From: Dani Oderbolz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Pls. help me to clarify my doubts. References: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in> <1069.219.65.226.136.1057472125.squirrel@mail.trade-india.com> <002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org> In-Reply-To: <002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/64 X-Sequence-Number: 9405 Gaetano Mendola wrote: > wrote: > > >>>hi, >>> >>>Sir, i follow your procedure of Postgres installation (version 7.1.3) >>>on linux 2.4.7-10. >>> >>>I want to know how to enable syslog and mention the log information >>>will store in /var/postgreslog directory path.. >>> >>> >>not sure abt 7.1.3 , but in 7.3.3 u can do the following. >> >>In postgresql.conf file >> >># >># Syslog >># >>syslog = 2 # range 0-2 >>syslog_facility = 'LOCAL0' >>syslog_ident = 'postgres' >> >> >>in /etc/syslog.conf file >>local0.* /var/postgreslog >> >> > >I remember you also that you can turn off the syslog to fsync each >log to the file putting a "-" before the filename: > >local0.* -/var/postgreslog > >this should increase the log performances > > > But doesnt this mean that you could loose log data in case of a power failure?