pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedpostgres in container, redirect csvlog to stderr
2+ messages / 2 participants
[nested] [flat]
* postgres in container, redirect csvlog to stderr
@ 2021-04-19 10:44 Filip Rembiałkowski <filip.rembialkowski@gmail.com>
2021-04-19 13:57 ` Re: postgres in container, redirect csvlog to stderr Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Filip Rembiałkowski @ 2021-04-19 10:44 UTC (permalink / raw)
To: pgsql-general <pgsql-general@lists.postgresql.org>
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!
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: postgres in container, redirect csvlog to stderr
2021-04-19 10:44 postgres in container, redirect csvlog to stderr Filip Rembiałkowski <filip.rembialkowski@gmail.com>
@ 2021-04-19 13:57 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2021-04-19 13:57 UTC (permalink / raw)
To: Filip Rembiałkowski <filip.rembialkowski@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>
=?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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-04-19 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19 10:44 postgres in container, redirect csvlog to stderr Filip Rembiałkowski <filip.rembialkowski@gmail.com>
2021-04-19 13:57 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox