Re: current log file removal

Поиск
Список
Период
Сортировка
От Paul Förster
Тема Re: current log file removal
Дата
Msg-id 280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com
обсуждение исходный текст
Ответ на Re: current log file removal  (Yambu <hyambu@gmail.com>)
Список pgsql-admin
Hi,

> On 26. Nov, 2020, at 15:46, Yambu <hyambu@gmail.com> wrote:
>
> When I renamed log file, there was no new one created, do I need to reload postgres?

a new log file will be created when necessary and not just for fun. So, if there is an event that needs logging, then
thelog file will be written to. If it doesn't exist, then it will be created. 

If your log level permits, then you can provoke that, but it's really not necessary to do that.

Cheers,
Paul


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

Предыдущее
От: Paul Förster
Дата:
Сообщение: Re: Move base directory to different location
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Move base directory to different location