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
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.
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 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
--
--