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?