postgres in container, redirect csvlog to stderr
postgres in container, redirect csvlog to stderr
От:
Filip Rembiałkowski <filip.rembialkowski@gmail.com>
Дата:
Hi.
I'm running postgres in kubernetes.
Is it possible to emit csvlog to standard output/error?
I tried a naive & hacky work-around, by setting log_directory='/dev/fd' and log_filename='2' - but it does not work.
Thanks!
Re: postgres in container, redirect csvlog to stderr
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
=?UTF-8?Q?Filip_Rembia=C5=82kowski?= writes: > Is it possible to emit csvlog to standard output/error? No. We assume that random third-party code might write plain text messags to stderr, so trying to impose a format on that wouldn't be very successful. regards, tom lane