From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Atul Kumar <akumar14871(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: logs are not getting logged in error logs |
Date: | 2023-10-12 00:35:49 |
Message-ID: | a12f3a29-4023-4311-adef-d668091b710f@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 10/11/23 17:24, Atul Kumar wrote:
> Hi,
>
> I have postgres 12 running on centos 7.
>
> i have configured streaming replication having one primary and one standby.
>
> It is strange to see that the logs are not getting generated on standby.
>
> I have checked the log directory using show command and it shows the
> correct output.
>
> I also intentionally created a few errors on standby to log and they are
> also getting logged.
>
> But apart from these error logs I can't see any additional logs on standby.
>
> Please help me what exactly is happening and how can I troubleshoot more ?
Read this:
https://www.postgresql.org/docs/current/runtime-config-logging.html
and then see what is set in the standby postgresql.conf.
>
>
>
> Regards.
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Abhishek Bhola | 2023-10-12 00:42:47 | Change error code severity for syslog? |
Previous Message | Atul Kumar | 2023-10-12 00:24:26 | logs are not getting logged in error logs |