Re: Database connection log

Поиск
Список
Период
Сортировка
Искать
От
Pierre Timmermans
Тема
Re: Database connection log
Дата
Msg-id
117841277.5046710.1528999239564@mail.yahoo.com
Ответ на
Database connection log (Tiffany Thang)
Список
Дерево обсуждения
Database connection log Tiffany Thang <tiffanythang@gmail.com>
Re: Database connection log Pierre Timmermans <ptim007@yahoo.com>
Re: Database connection log Christoph Moench-Tegeder <cmt@burggraben.net>
I believe that you can achieve what you want with the following configuration parameters: log_connections and log_line_prefix 






Regards, Pierre


On Thursday, June 14, 2018, 4:48:54 PM GMT+2, Tiffany Thang <tiffanythang@gmail.com> wrote:


Hi,
Does PostgreSQL keep a log of client connections to the database like Oracle's listener.log? I would like to extract information such as how many connections are made to the database daily, the IP addresses they originated from and the schemas they are connected to. Would it be possible to extract the above information in PostgreSQL?

Thanks.
В списке pgsql-general по дате отправления
От: Christoph Moench-Tegeder
Дата:
Сообщение: Re: Database connection log
От: George Woodring
Дата:
FAQ