Logging which interface was connected to in log_line_prefix

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Logging which interface was connected to in log_line_prefix
Дата
Msg-id CAKAnmmK-U+UicE-qbNU23K--Q5XTLdM6bj+gbkZBZkjyjrd3Ow@mail.gmail.com
обсуждение исходный текст
Ответы Re: Logging which interface was connected to in log_line_prefix  (Cary Huang <cary.huang@highgo.ca>)
Re: Logging which interface was connected to in log_line_prefix  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
Someone on -general was asking about this, as they are listening on multiple IPs and would like to know which exact one clients were hitting. I took a quick look and we already have that information, so I grabbed some stuff from inet_server_addr and added it as part of a "%L" (for 'local interface'). Quick patch / POC attached.

Cheers,
Greg

Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: remaining sql/json patches
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Reducing the log spam