Re: Question regarding log files in postgresql

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: Question regarding log files in postgresql
Дата
Msg-id 1405981039077-5812292.post@n5.nabble.com
обсуждение исходный текст
Ответ на Question regarding log files in postgresql  ("lucas.gary@gmail.com" <lucas.gary@gmail.com>)
Список pgsql-general
lucas.gary@gmail.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.


В списке pgsql-general по дате отправления:

Предыдущее
От: "lucas.gary@gmail.com"
Дата:
Сообщение: Question regarding log files in postgresql
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Question regarding log files in postgresql