Re: Log File Maintainance - Mailing list pgsql-general

From Richard Huxton
Subject Re: Log File Maintainance
Date
Msg-id 425B7DFC.20105@archonet.com
Whole thread Raw
In response to Log File Maintainance  (Inpreet Singh <Singh.Inpreet@netsity.com>)
Responses Re: Log File Maintainance  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-general
Inpreet Singh wrote:
> Hello,
>
> I am working on live server where we have installed postgres database as
> our back end. But now the problem is due to continues work on postgres,
> size of log files has become problem for us. And the partition where our
> postgres exists is full. Postmaster is not working now. I tried to
> rotate log file by adding lines in postgresql.conf
> ****************************************************
> syslog = 2                      # range 0-2
> syslog_facility = 'LOCAL0'
> syslog_ident = 'postgres'

You also need to update your syslog.conf and restart syslogd

Add a line like:
local0.*         /var/log/pgsql

Read the man page(s) for details.
--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Rafael.Hernamperez@bull.es
Date:
Subject: unsubscribe
Next
From: "Sergey Karin"
Date:
Subject: Question about Large Objects