Re: Mysterious DB reset - Mailing list pgsql-general

From Michael Nolan
Subject Re: Mysterious DB reset
Date
Msg-id CAOzAquKDEii5PQ2e7u_nxmPuaz6_syq9PPG3sqJX_CdQ8pRsaA@mail.gmail.com
Whole thread Raw
In response to Re: Mysterious DB reset  (Israel Brewster <israel@eraalaska.net>)
List 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 by date:

Previous
From: Israel Brewster
Date:
Subject: Re: Mysterious DB reset
Next
From: Adrian Klaver
Date:
Subject: Re: Mysterious DB reset