Re: rotate sql.log

From: Laurent Duperval <lduperval(at)microcelli5(dot)com>
To: martin(at)bugs(dot)unl(dot)edu(dot)ar
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: rotate sql.log
Date: 2001-05-18 12:24:46
Message-ID: 20010518122526.A7CA3468AE@lenard.microcelli5.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)microcelli5(dot)com>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ryan C. Bonham 2001-05-18 13:04:33 RE: CVS, initdb and catalog version
Previous Message Alejandro Fernandez 2001-05-18 11:47:37 Re: Web Hosting That Supports PostgreSQL