Re: Mysterious DB reset

Поиск
Список
Период
Сортировка
От Michael Nolan
Тема Re: Mysterious DB reset
Дата
Msg-id CAOzAquKDEii5PQ2e7u_nxmPuaz6_syq9PPG3sqJX_CdQ8pRsaA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Mysterious DB reset  (Israel Brewster <israel@eraalaska.net>)
Список pgsql-general
On 3/6/14, Israel Brewster <israel@eraalaska.net> wrote:



> LOG:  received smart shutdown request
> LOG:  autovacuum launcher shutting down
> LOG:  shutting down
> LOG:  database system is shut down
>
> However, there are no timestamps on any of the entries (can I fix that?)

Yes, change the log_line_prefix in the postgresql.conf file and reload it.

I use:

log_line_prefix = '%m %u '

You might also want to use this, at least temporarily:

log_statement = all

--
Mike Nolan


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

Предыдущее
От: Israel Brewster
Дата:
Сообщение: Re: Mysterious DB reset
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Mysterious DB reset