Re: Logs vanish after partial log destination change

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Logs vanish after partial log destination change
Дата
Msg-id 2872657.1630851875@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Logs vanish after partial log destination change  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: Logs vanish after partial log destination change  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-bugs
hubert depesz lubaczewski <depesz@depesz.com> writes:
> I start with:
> log_destination = 'syslog'
> logging_collector = false

> Logs to to syslog, all is well.

> Then, I chance log_destination to 'csvlog' and logging_collector to
> 'on'.

> And then I reload config.

> I know I can chance log_destination, but I can't change
> logging_collector. I assumed it means that logging will go to where they
> did before.

No.  You effectively set log_destination to empty, since the csvlog
item is ignored if the logging collector isn't active.  That's not
a case that we should disallow, IMO.  I do not think there's anything
that we can do here that wouldn't make other use-cases worse.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17182: Race condition on concurrent DROP and CREATE of dependent object
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Logs vanish after partial log destination change