From: Gaetano Mendola <gmendola@mbigroup.it>
To: mallah@trade-india.com
To: arumugam_ask@sifycorp.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Pls. help me to clarify my doubts.
Date: Sun, 6 Jul 2003 11:44:46 +0200
Message-ID: <002a01c343a3$4408bf20$10d4a8c0@mm.eutelsat.org> (raw)
References: <02bb01c34244$9feee9f0$377ad2d2@satyam.net.in>
<1069.219.65.226.136.1057472125.squirrel@mail.trade-india.com>
<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
Regards
Gaetano Mendola
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: gmendola@mbigroup.it, mallah@trade-india.com, arumugam_ask@sifycorp.com
Subject: Re: Pls. help me to clarify my doubts.
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>
* 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