pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Atul Kumar <akumar14871@gmail.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: logs are not getting logged in error logs
Date: Wed, 11 Oct 2023 17:35:49 -0700
Message-ID: <a12f3a29-4023-4311-adef-d668091b710f@aklaver.com> (raw)
In-Reply-To: <CA+ONtZ7bXY8Vtp4M1FAM1uZwfLLf3=tqa0KggNQvQSjMWcZNdw@mail.gmail.com>
References: <CA+ONtZ7bXY8Vtp4M1FAM1uZwfLLf3=tqa0KggNQvQSjMWcZNdw@mail.gmail.com>

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






view thread (2+ messages)

Message-ID: <a12f3a29-4023-4311-adef-d668091b710f@aklaver.com>
Permalink:  ../a12f3a29-4023-4311-adef-d668091b710f@aklaver.com/
Also on:    postgresql.org/message-id/a12f3a29-4023-4311-adef-d668091b710f@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, akumar14871@gmail.com
  Subject: Re: logs are not getting logged in error logs
  In-Reply-To: <a12f3a29-4023-4311-adef-d668091b710f@aklaver.com>
  References: <CA+ONtZ7bXY8Vtp4M1FAM1uZwfLLf3=tqa0KggNQvQSjMWcZNdw@mail.gmail.com> <a12f3a29-4023-4311-adef-d668091b710f@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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