| От | Tom Lane |
|---|---|
| Тема | Re: way to turn off epochs in log_filename |
| Дата | |
| Msg-id | 26960.1193434395@sss.pgh.pa.us обсуждение |
| Ответ на | way to turn off epochs in log_filename (David Lowry <dlowry@bju.edu>) |
| Ответы |
Re: way to turn off epochs in log_filename
|
| Список | pgsql-admin |
David Lowry <dlowry@bju.edu> writes:
> The docs state that if there are no %-escapes in log_filename, then
> it will add the epoch onto the end of the log filename. Is there any
> way to turn off this behavior and just use the filename specified in
> log_filename? I'd like have all the log data written to a file like
> postgresql.log and let logrotate do the rotation.
If logrotate would work, we'd never have bothered writing our own
substitute. But there's no way for logrotate to repoint postmaster's
stderr into other files.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера