postgres in container, redirect csvlog to stderr
Started by Filip Rembiałkowskialmost 5 years ago2 messagesgeneral
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
=?UTF-8?Q?Filip_Rembia=C5=82kowski?= <filip.rembialkowski@gmail.com> 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