pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dani Oderbolz <oderbolz@ecologic.de>
To: pgsql-admin@postgresql.org
Subject: Re: Pls. help me to clarify my doubts.
Date: Mon, 07 Jul 2003 12:33:21 +0200
Message-ID: <3F094C71.4080006@ecologic.de> (raw)
In-Reply-To: <002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org>
References: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in>
	<1069.219.65.226.136.1057472125.squirrel@mail.trade-india.com>
	<002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org>

Gaetano Mendola wrote:

><mallah@trade-india.com> 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?





view thread (4+ messages)

Message-ID: <3F094C71.4080006@ecologic.de>
Permalink:  ../3F094C71.4080006@ecologic.de/
Also on:    postgresql.org/message-id/3F094C71.4080006@ecologic.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oderbolz@ecologic.de
  Subject: Re: Pls. help me to clarify my doubts.
  In-Reply-To: <3F094C71.4080006@ecologic.de>
  References: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in> <1069.219.65.226.136.1057472125.squirrel@mail.trade-india.com> <002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org> <3F094C71.4080006@ecologic.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox