Re: Pls. help me to clarify my doubts.

Поиск
Список
Период
Сортировка
От Dani Oderbolz
Тема Re: Pls. help me to clarify my doubts.
Дата
Msg-id 3F094C71.4080006@ecologic.de
обсуждение исходный текст
Ответ на Re: Pls. help me to clarify my doubts.  ("Gaetano Mendola" <gmendola@mbigroup.it>)
Список pgsql-admin
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?



В списке pgsql-admin по дате отправления:

Предыдущее
От: Markus Bertheau
Дата:
Сообщение: Re: Migrating from 7.1 to 7.2 using
Следующее
От: "Mendola Gaetano"
Дата:
Сообщение: Re: Renaming a DB