Re: how to find log

2020-12-21 Thread Dmitry Markman
Thanks Tom, Andrew I’ll try out logging_collector facility thanks again dm > On Dec 20, 2020, at 12:04 PM, Andrew Dunstan wrote: > > > On 12/20/20 11:31 AM, Tom Lane wrote: >> Dmitry Markman writes: >>> suppose I started the server with the following command >>> pg_ctl -D . . . start -l >>

Re: how to find log

2020-12-20 Thread Andrew Dunstan
On 12/20/20 11:31 AM, Tom Lane wrote: > Dmitry Markman writes: >> suppose I started the server with the following command >> pg_ctl -D . . . start -l >> is there a way to get later by sending some query to the >> server or > No, the server has no way to know where its stdout/stderr were > poi

Re: how to find log

2020-12-20 Thread Tom Lane
Dmitry Markman writes: > suppose I started the server with the following command > pg_ctl -D . . . start -l > is there a way to get later by sending some query to the server > or No, the server has no way to know where its stdout/stderr were pointed to. You might want to enable the syslogger

how to find log

2020-12-20 Thread Dmitry Markman
Hi all suppose I started the server with the following command pg_ctl -D . . . start -l is there a way to get later by sending some query to the server or reading some configuration file (for example I can get data directory with the query “show data_directory”) thanks in advance Dimitry M