Re: Postgres logs w/ Logrotate
От | Oliver Elphick |
---|---|
Тема | Re: Postgres logs w/ Logrotate |
Дата | |
Msg-id | 1049293437.1374.3.camel@linda.lfix.co.uk обсуждение исходный текст |
Ответ на | Re: Postgres logs w/ Logrotate (Renê Salomão <rene@ibiz.com.br>) |
Список | pgsql-novice |
On Wed, 2003-04-02 at 15:05, Renê Salomão wrote: > Oliver, > > Thank u very much... Copytruncate was exactly what my scripts was > missing.. Just had to replace copytruncate with create... I suspect your English is failing you here: you need to replace create with copytruncate! > I lacked the knowledge that postmaster does not close the > file... > > By the way is there any environment variable to log path? I know that > there is for data (PGDATA) and port (PGPORT)... What about log (PGLOG)? Not that I know of. > Would help a lot if such variable exists!!! The reason is that anyone > here can start/stop/reload our testing database, most of the time > people forget about setting log file... I should set up a script for them to use, to ensure that it gets done right every time. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "If the Son therefore shall make you free, ye shall be free indeed." John 8:36
В списке pgsql-novice по дате отправления: