Re: Pls. help me to clarify my doubts.

From: "Gaetano Mendola" <gmendola(at)mbigroup(dot)it>
To: <mallah(at)trade-india(dot)com>, <arumugam_ask(at)sifycorp(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Pls. help me to clarify my doubts.
Date: 2003-07-06 09:44:46
Message-ID: 002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<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

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Danilo Costa Viana 2003-07-06 14:20:49 Problem after deleting pg_trigger
Previous Message mallah 2003-07-06 06:15:25 Re: Pls. help me to clarify my doubts.