Re: Question regarding log files in postgresql

From: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Question regarding log files in postgresql
Date: 2014-07-21 22:17:19
Message-ID: 1405981039077-5812292.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

lucas(dot)gary(at)gmail(dot)com wrote
> I've rolled postgres to 'production', so box is in prod, but the
> applications aren't active yet.
>
> When I rolled the new box I'm seeing 2 log files:
>
> postgresql-yyyy-MM-dd_hhmmss.log
> AND
> postgresql-9.3-main.log
>
> The 'main' log doesn't appear to be used, however the time stamped file
> is.
>
> Does this make sense? Is it normal?
>
> My logrotate entry makes some assumptions that may be incorrect now.
>
> Gary

Likely the main log is the one that is used before any log file settings in
postgres.conf are read in and applied. Then, once the date tagged format in
postgres.conf is processed that file is used and the main file no longer is
needed.

David J.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Question-regarding-log-files-in-postgresql-tp5812284p5812292.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-07-22 00:34:57 Re: Question regarding log files in postgresql
Previous Message lucas.gary@gmail.com 2014-07-21 21:21:04 Question regarding log files in postgresql