pgpool 2 rotate logs

Поиск
Список
Период
Сортировка
От Mariel Cherkassky
Тема pgpool 2 rotate logs
Дата
Msg-id CA+t6e1nbNxymrFNivQr3m2RUH_1hi4_kKsKWYSPzn-_=_+TFUQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: pgpool 2 rotate logs  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-performance
Hi,
I have installed pgpool 2 version 3.7.0 . I'm trying to configure log rotation on the pgpool.log but It seems that something wrong. I configured in logrotate conf file the parameters : 

/PostgreSQL/pgpool/log/pgpool.log {

        daily

        dateext

        missingok

        compress

        notifempty

        maxage 7

        maxsize 21118320640

                rotate 7

                create 644 postgres postgres

                postrotate

        su - postgres -c "~/pgpool/bin/pgpool reload"

                endscript

}

After the first rotation, an archive is generated but the pool stops writing to the original log. Any idea what can be the reason ?

В списке pgsql-performance по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: Efficiently searching for the most recent rows where a columnmatches any result from a different query
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pgpool 2 rotate logs