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