Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deiJJ-0005pX-R7 for pgsql-admin@arkaria.postgresql.org; Mon, 07 Aug 2017 13:43:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1deiJJ-0004vc-CA for pgsql-admin@arkaria.postgresql.org; Mon, 07 Aug 2017 13:43:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1deiHV-0001kz-UM for pgsql-admin@postgresql.org; Mon, 07 Aug 2017 13:41:18 +0000 Received: from mail-oln040092255105.outbound.protection.outlook.com ([40.92.255.105] helo=APC01-HK2-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1deiHP-0003l4-FL for pgsql-admin@postgresql.org; Mon, 07 Aug 2017 13:41:16 +0000 Received: from HK2APC01FT025.eop-APC01.prod.protection.outlook.com (10.152.248.52) by HK2APC01HT037.eop-APC01.prod.protection.outlook.com (10.152.249.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1304.16; Mon, 7 Aug 2017 13:41:08 +0000 Received: from MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM (10.152.248.60) by HK2APC01FT025.mail.protection.outlook.com (10.152.248.170) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1304.16 via Frontend Transport; Mon, 7 Aug 2017 13:41:08 +0000 Received: from MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM ([10.174.58.9]) by MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM ([10.174.58.9]) with mapi id 15.01.1320.017; Mon, 7 Aug 2017 13:41:07 +0000 From: amandeep singh To: "pgsql-admin@postgresql.org" Subject: Unknown in place of application name Thread-Topic: Unknown in place of application name Thread-Index: AQHTD4Didh7w31hCCEqKzWGcpCdMdA== Date: Mon, 7 Aug 2017 13:41:07 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: postgresql.org; dkim=none (message not signed) header.d=none;postgresql.org; dmarc=none action=none header.from=live.in; x-incomingtopheadermarker: OriginalChecksum:F66FDD8963BCF9771502856D37F282BC27F994B3126B16EF50795762C65FEB30;UpperCasedChecksum:594BE15C08FAA9767BC8A8E7935FD2F11496EA9560DDE6BB3183D3E0C1A68CC7;SizeAsReceived:7044;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [qwYx07oerojUQQlJqKDGhesJ8nGbUWiJ] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HK2APC01HT037;7:XqETZfrfG0+YPHU3Suh5EKN1avAqC6wOfJ4E4WalCg8RtT6e7I3AIUAyhCika2IcYZ6DDbzFuuWFpMQEemYwC1HxDq9H7kYz0YlpouJ3aAIQ781mwKfaJIpYmJIev1+MgdtDngdNp+Z+e7Htu3o2LwL6qhNn4h+UmwxTZ9UkBWsWeXw1eovZx/HW2MCSxizU6U1Vwkjp+oOBz9UNDYwodaG1MIu9QdSfS+yPNqo1zyaZyRWBnl5gzn3zQvh1PsVuHyFb5u+NfKPBZvbcnUHV2aaEvoKp4Du16SQG0fL55kP1OnNkUiNpr85DZx87OTUe7opS2QWIUz6b0xTl6UDE1bf3JOOx/WaXyxJyGtY+azP4FAmrcL7Y81PQQaraxIHdB0/c0y8b4g8QkpMyvjYfzlqnanA81y0lRzxeajadyKAauZQbvNZDd5r/r5Odl8VriGUy1SWKLafUUOXh2POc3j1v0eU+KXyGtYh+YbFtM/y5XjbZjffwD7SpDkfNI1EUNNvM0M5+xMZ/plN4SE1zVZfEglrnE7iK1AYc5iCcEMfhWLq+56nP4KdpO+Xd3xGuzXTXOqcyTvoq2H0HCr//3EINI3s9agMDMEyst6XR2o39VopIN6KE6jH9kAmvt5oXsZLAKRUZebe7W4SnFk0Y9c2f+C7rvHgVLhtZqWfykOPI4z9r8cYIsHEaBzxV/wQ62oVZYKXNkQ/ve+LuccjbGbSaAIz5/mzUFwsOVIyAHmA97JgxiaN6x2Jqen1kWPiZLteWovhRpVip3OkOumSxdQ== x-incomingheadercount: 44 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:HK2APC01HT037;H:MA1PR01MB0748.INDPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: b3002bac-9598-4915-67f1-08d4dd99f52e x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322377)(1603101448)(1601125374)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:HK2APC01HT037; x-ms-traffictypediagnostic: HK2APC01HT037: x-exchange-antispam-report-test: UriScan:(278428928389397); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031);SRVR:HK2APC01HT037;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:HK2APC01HT037; x-forefront-prvs: 0392679D18 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_MA1PR01MB07480FE7B96415A8F94CA95D80B50MA1PR01MB0748INDP_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2017 13:41:07.6307 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT037 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org --_000_MA1PR01MB07480FE7B96415A8F94CA95D80B50MA1PR01MB0748INDP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All I have enabled logging parameters in PostgreSQL 9.6. log_line_prefix =3D %t %a log_connection =3D on log_disconnection =3D on After enabling I have checked the log and found that all new connections a= re showing unknown for application name however it is showing application n= ame in disconnection. Same is tested with multiple applications and getting= same result. 2017-08-07 18:55:44 IST [[unknown]] LOG: connection received: host=3D[loca= l] 2017-08-07 18:55:48 IST [[unknown]] LOG: connection received: host=3D[loca= l] 2017-08-07 18:55:48 IST [[unknown]] LOG: connection authorized: user=3Dpos= tgres database=3Dpostgres 2017-08-07 18:55:54 IST [psql.bin] LOG: disconnection: session time: 0:00:= 06.004 user=3Dpostgres database=3Dpostgres host=3D[local] Kindly suggest. Thanks and Regards: Amandeep Singh --_000_MA1PR01MB07480FE7B96415A8F94CA95D80B50MA1PR01MB0748INDP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi All


I have enabled logging parameters in PostgreSQL= 9.6.


log_line_prefix =3D %t %a 

log_connection =3D on

log_disconnection =3D on


 After enabling I have checked the= log and found that all new connections are showing unknown for applic= ation name however it is showing application name in disconnection. Sa= me is tested with multiple applications and getting same result.


2017-08-07 18:55:44 IST [[unknown]] LOG:  connection recei= ved: host=3D[local]
2017-08-07 18:55:48 IST [[unknown]] LOG:  connection recei= ved: host=3D[local]
2017-08-07 18:55:48 IST [[unknown]] LOG:  connection autho= rized: user=3Dpostgres database=3Dpostgres
2017-08-07 18:55:54 IST [psql.bin] LOG:  disconnection: se= ssion time: 0:00:06.004 user=3Dpostgres database=3Dpostgres host=3D[local]<= /div>  

Kindly suggest.


Thanks and Regards:
Amandeep Singh
--_000_MA1PR01MB07480FE7B96415A8F94CA95D80B50MA1PR01MB0748INDP_--