Re: Postgres has stopped logging

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lewis Kapell <lkapell(at)setonhome(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres has stopped logging
Date: 2009-06-05 16:23:56
Message-ID: 5737.1244219036@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lewis Kapell <lkapell(at)setonhome(dot)org> writes:
> 2) The relevant section of the config file looks like this:

> #log_destination = 'stderr'
> logging_collector = on
> log_directory = '/var/log/postgres'
> log_filename = 'postgresql-%Y-%m-%d.log'
> #log_truncate_on_rotation = off
> log_rotation_age = 7d
> #log_rotation_size = 10MB

Those look reasonably sane. Have you checked that the logger
subprocess is still running? The postmaster is supposed to restart
it if it dies, but I wouldn't be astonished if something went wrong
in that ...

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lewis Kapell 2009-06-05 16:52:47 Re: Postgres has stopped logging
Previous Message Lewis Kapell 2009-06-05 16:13:58 Re: Postgres has stopped logging