Re: Postgres has stopped logging - Mailing list pgsql-admin

From Tom Lane
Subject Re: Postgres has stopped logging
Date
Msg-id 5737.1244219036@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres has stopped logging  (Lewis Kapell <lkapell@setonhome.org>)
Responses Re: Postgres has stopped logging  (Lewis Kapell <lkapell@setonhome.org>)
List pgsql-admin
Lewis Kapell <lkapell@setonhome.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

pgsql-admin by date:

Previous
From: Lewis Kapell
Date:
Subject: Re: Postgres has stopped logging
Next
From: Lewis Kapell
Date:
Subject: Re: Postgres has stopped logging