Re: Mysterious DB reset

From: Michael Nolan <htfoot(at)gmail(dot)com>
To: Israel Brewster <israel(at)eraalaska(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Mysterious DB reset
Date: 2014-03-06 17:57:11
Message-ID: CAOzAquKDEii5PQ2e7u_nxmPuaz6_syq9PPG3sqJX_CdQ8pRsaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/6/14, Israel Brewster <israel(at)eraalaska(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-03-06 18:03:06 Re: Mysterious DB reset
Previous Message Israel Brewster 2014-03-06 17:48:33 Re: Mysterious DB reset