Re: Pls. help me to clarify my doubts.

From: Dani Oderbolz <oderbolz(at)ecologic(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Pls. help me to clarify my doubts.
Date: 2003-07-07 10:33:21
Message-ID: 3F094C71.4080006@ecologic.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Gaetano Mendola wrote:

><mallah(at)trade-india(dot)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?

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mendola Gaetano 2003-07-07 12:17:23 Re: Renaming a DB
Previous Message Markus Bertheau 2003-07-07 10:06:53 Re: Migrating from 7.1 to 7.2 using