how to enable logging in pgAdmin 4.2

Поиск
Список
Период
Сортировка
От Shah, Maulik Dipakkumar
Тема how to enable logging in pgAdmin 4.2
Дата
Msg-id 7f1c9d115577494e8a3d2fe8701ad857@imcap.ap.ssmb.com
обсуждение исходный текст
Список pgadmin-support

Hi

 

Do you have any idea how we can enable logging into pgadmin4.2

 

For example. I want to track following.

 

1.       Login/logout logs  in pgadmin4 console

2.       Any new user id creation/deletion information

 

 

I  created the config_local.py under /var/log/pgadmin4 and restarted the apache using command (systemctl restart httpd)

 

#Contents of config_local.py

 

import logging

# Application log level - one of:

#   CRITICAL 50

#   ERROR    40

#   WARNING  30

#   SQL      25

#   INFO     20

#   DEBUG    10

#   NOTSET    0

CONSOLE_LOG_LEVEL = logging. WARNING

FILE_LOG_LEVEL = logging. WARNING

 

# Log format.

CONSOLE_LOG_FORMAT = '%(asctime)s: %(levelname)s\t%(name)s:\t%(message)s'

FILE_LOG_FORMAT = '%(asctime)s: %(levelname)s\t%(name)s:\t%(message)s'

 

LOG_FILE = '/var/log/pgadmin4/pgadmin4.log'

SQLITE_PATH = '/var/lib/pgadmin4/pgadmin4.db'

SESSION_DB_PATH = '/var/lib/pgadmin4/sessions'

STORAGE_DIR = '/var/lib/pgadmin4/storage'

DEFAULT_SERVER='XX.XX.XX.XX'

#DEFAULT_SERVER_PORT=443

 

Thanks,

 

Maulik Shah

EIO&T CTI Database Services

Citi Technology Center | Pune

SEZ-EON IT Park | Kharadi | Pune | Maharashtra - 411014 | INDIA

T +91 020-67098371

maulik.dipakkumar.shah@citi.com

 

From: [pgadmin.org] Dave Page <dpage@pgadmin.org>
Sent: Wednesday, June 12, 2019 5:57 PM
To: Shah, Maulik Dipakkumar [CCC-OT] <ms20011@imcap.ap.ssmb.com>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: How to disable the SSLv3 and TLS 1.0 and weak ciphers in pgAdmin 4.1

 

Hi

 

Then you'll need to ask in a more appropriate place - we can't provide support for Apache HTTPD here; we're just users of it like you.

 

On Wed, Jun 12, 2019 at 1:22 PM Shah, Maulik Dipakkumar <maulik.dipakkumar.shah@citi.com> wrote:

Hi

 

This is already followed but not worked.

 

Thanks,

 

Maulik Shah

 

From: [pgadmin.org] Dave Page <dpage@pgadmin.org>
Sent: Wednesday, June 12, 2019 3:17 PM
To: Shah, Maulik Dipakkumar [CCC-OT] <ms20011@imcap.ap.ssmb.com>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: How to disable the SSLv3 and TLS 1.0 and weak ciphers in pgAdmin 4.1

 

Hi

 

On Wed, Jun 12, 2019 at 10:31 AM Shah, Maulik Dipakkumar <maulik.dipakkumar.shah@citi.com> wrote:

Hi Team

 

We have installed the pgAdmin 4.1 on RHEL 7 machine

 

Please advise how to disable the support for SSLv3 and TLS 1.0 using apache for pgAdmin 4.1

 

Could you please share some documentation on this. What would be the configuration in /etc/httpd/conf.d/SSL.conf

 

 

--

Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


 

--

Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgadmin-support по дате отправления:

Предыдущее
От: Avin Kavish
Дата:
Сообщение: Re: I would like the old header back
Следующее
От: Andreas Scheucher
Дата:
Сообщение: Usability issue on Mac OS X - Key based editor navigation