Re: logs are not getting logged in error logs - Mailing list pgsql-general

From Adrian Klaver
Subject Re: logs are not getting logged in error logs
Date
Msg-id a12f3a29-4023-4311-adef-d668091b710f@aklaver.com
Whole thread Raw
In response to logs are not getting logged in error logs  (Atul Kumar <akumar14871@gmail.com>)
List 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.klaver@aklaver.com




pgsql-general by date:

Previous
From: Atul Kumar
Date:
Subject: logs are not getting logged in error logs
Next
From: Abhishek Bhola
Date:
Subject: Change error code severity for syslog?