Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qqjgH-000nRf-0u for pgsql-general@arkaria.postgresql.org; Thu, 12 Oct 2023 00:36:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qqjgD-0020og-Va for pgsql-general@arkaria.postgresql.org; Thu, 12 Oct 2023 00:35:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qqjgD-0020oY-0A for pgsql-general@lists.postgresql.org; Thu, 12 Oct 2023 00:35:58 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qqjgA-0002QM-IK for pgsql-general@lists.postgresql.org; Thu, 12 Oct 2023 00:35:56 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id AE97E32009A6; Wed, 11 Oct 2023 20:35:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 11 Oct 2023 20:35:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1697070952; x=1697157352; bh=ak5c2/7lXs9eyV6Uz5Vq3Sdx51os9QXM1Tb I2QZ1o8E=; b=ddDG71RmF0fhwnnWcEXaXn30EQK+dgaTColWQOFXNV/QouZty4w BFrfHLyp1ulbr0T2NX+78x2lifOFR6vEpST9cZY48sdy4tzexIKaXsr4Km7zv9BP e7zDuPSKiKoJwTcteuPbdrouegaYwlMEOK72QomDNGoLJSKXhzoeW4FqelFho5QD Ia0j+VYdA5Ymn/occ8ycQJ/yAcRGCFzoxqh5e2twlgfAbiTkSg8nQ3Sb4dbi43Rs RNRbuIeT9VmQKGhzv3JdSHbpmwXvp4Yjrox7lsjRiczu7kLPBwdq3qpiEn+A7ecD EvNSta7DsDi0FtzLuScjfqBOeU2d34ijCWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1697070952; x= 1697157352; bh=ak5c2/7lXs9eyV6Uz5Vq3Sdx51os9QXM1TbI2QZ1o8E=; b=R 4ODzq1jZGILzfRO159e79/yZRuvTOoYrVwwgYezaoJ8ymdQI6i72QpMCAWEVgKEl 2ciArlF8B7AMl1KToP37QADpCbR3mX6+aNpH9UWNg497Oqp7h60/AlZnJeEImOW9 Tb4y1oT8RUcZBSho600ilON/z7NdMuQjVmv7Y09IKCACmjDfqFgX3dFz/TwLiCUE DH8vdMRGQx0miVlM0zJFOWQ7R19XzEAc1jYyf6+dDHS7lUm0kULqRYQ4MbjesecP O6DD5MqBgrDsZmLrPSxS/nn3yL4+x60WzmeOJCdx90qeTH0Q+z8MR+UQcmlMFKXu SOHrnyVgNlnMMsQoRCIJQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrheelgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepleegveekkeekueeigfdtveeileeuhfefudefteekjeff keejueejheegheegkedtnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgr nhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Oct 2023 20:35:51 -0400 (EDT) Message-ID: Date: Wed, 11 Oct 2023 17:35:49 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: logs are not getting logged in error logs To: Atul Kumar , pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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