Re: How to log to postgresql.log - Mailing list pgsql-novice

From Tom Lane
Subject Re: How to log to postgresql.log
Date
Msg-id 14895.1233278182@sss.pgh.pa.us
Whole thread Raw
In response to How to log to postgresql.log  (A B <gentosaker@gmail.com>)
List pgsql-novice
A B <gentosaker@gmail.com> writes:
> But I get  files
> postgresql.log.1233263415
> postgresql.log.1233263531

That's what it's defined to do when you set log_filename to a constant.
The expected use pattern involves putting some strftime percent-escapes
into the log_filename pattern.  See the examples in the 'where to log'
section of the manual (look under log_truncate_on_rotation in
particular).

            regards, tom lane

pgsql-novice by date:

Previous
From: Bob McConnell
Date:
Subject: Re: REALLY stupid question
Next
From: Raimon Fernandez
Date:
Subject: boot on Debian with /etc/init.d/rc ...