| От | Gaetano Mendola |
|---|---|
| Тема | Re: rotatelog / logrotate with PostgreSQL |
| Дата | |
| Msg-id | amuf7g$30a8$1@news.hub.org обсуждение |
| Ответ на | Re: rotatelog / logrotate with PostgreSQL (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-general |
"Martijn van Oosterhout" <kleptog@svana.org> wrote in message news:20020926004757.GC5706@svana.org... > On Wed, Sep 25, 2002 at 08:58:22AM -0600, scott.marlowe wrote: > > Well, I've found the syslog facility to be noticeable slower than > > rotatelogs with pgsql doing its own logging. So that's why I do it the > > rotatelogs way. Choice is good. > > One thing to be careful of is to put a hyphen before the filename in the > syslog config. This will stop syslog doing a sync() after *every* message, > which quite noticably kills performance. Also make sure it's only logging to > the logs you want and not to multiple files. That's right, but I think that all here knew this, or not ? Ciao Gaetano
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера