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