Re: rotate sql.log - Mailing list pgsql-general

From Laurent Duperval
Subject Re: rotate sql.log
Date
Msg-id 20010518122526.A7CA3468AE@lenard.microcelli5.com
Whole thread Raw
In response to rotate sql.log  (Martín Marqués <martin@bugs.unl.edu.ar>)
List pgsql-general
On 17 May, Martín Marqués wrote:
> I have a log rotator (script in ksh) and want to rotate postgres log file.
> How does Postgres log? Through syslog? Or independently?
>
> Saludos... :-)
>

Depends on how you built it and how it's configured at run time. If it was
built with syslog facilities *and* you started it with the syslog option,
it'll log to syslog. If in your invocation of pg_ctl you said to log into a
file, it'll logg into that file. Otherwise, it logs to stdout (stderr?).

L

--
Laurent Duperval <mailto:lduperval@microcelli5.com>

Bref. L'affreuse déception pour mes auditeurs. Les malheureux. Sevrés du
suc de ma pensée. Soyons brave.
                                             -Achille Talon


pgsql-general by date:

Previous
From: Alejandro Fernandez
Date:
Subject: Re: Web Hosting That Supports PostgreSQL
Next
From: "Laurent Duperval"
Date:
Subject: CVS, initdb and catalog version