| От | Bruce Momjian |
|---|---|
| Тема | Re: Rotation of security logs in Postgres 7.4.11 |
| Дата | |
| Msg-id | 200601312255.k0VMtdg22896@candle.pha.pa.us обсуждение |
| Ответ на | Rotation of security logs in Postgres 7.4.11 ("John Zubac" <jzubac@internetsecure.com>) |
| Список | pgsql-general |
John Zubac wrote:
> Hi Everyone
>
> What is the best way to go about rotating the postgres security log file on postgresql 7.4.11 under openbsd 3.7?
>
> I got it to work logging to a file but as soon as the file rotates the new log is dead. Would reloading the
postmasterafter the log rotation resolve this?
>
> I also was not able to get it to log to syslog. Maybe I missed something here. Any help would be kindly appreciated
Have you read our documenation on this issue?
http://www.postgresql.org/docs/8.1/static/logfile-maintenance.html
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера