From: | Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com> |
---|---|
To: | Hassan Schroeder <hassan(dot)schroeder(at)gmail(dot)com>, pgsql-novice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Logging connections, not queries |
Date: | 2016-04-27 23:05:23 |
Message-ID: | CADp-Sm4tAHarisHabHsgo2AQ=DyyYNK00aNut+kU_4R6u4XD_g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Wed, 27 Apr 2016 23:56 Hassan Schroeder, <hassan(dot)schroeder(at)gmail(dot)com>
wrote:
> PostgreSQL 9.3.12 on Ubuntu 14.04.4 LTS
>
> I'd like to log connections for performance/security reasons but so
> far I'm unable to log them *without* getting queries logged as well.
>
By any chance do you have log_statement set to 'all'? Or
log_min_duration_statement to a non-negative value?
>
> IOW I'd like to see only results of these in the logging output -
>
> log_connections = on
> log_disconnections = on
>
> Any suggestions?
>
> TIA!
> --
> Hassan Schroeder ------------------------ hassan(dot)schroeder(at)gmail(dot)com
> http://about.me/hassanschroeder
> twitter: @hassan
> Consulting Availability : Silicon Valley or remote
>
>
> --
> Sent via pgsql-novice mailing list (pgsql-novice(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-novice
>
--
--
Best Regards
Sameer Kumar | DB Solution Architect
*ASHNIK PTE. LTD.*
101 Cecil Street, #11-11 Tong Eng Building, Singapore 069 533
T: +65 6438 3504 | M: +65 8110 0350 | www.ashnik.com
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2016-04-28 03:54:46 | Re: [NOVICE] Fwd: Process scheduling in postgres |
Previous Message | Hassan Schroeder | 2016-04-27 15:56:19 | Logging connections, not queries |