custom log. variable %h reports [unknown]

Поиск
Список
Период
Сортировка
От Artem Tomyuk
Тема custom log. variable %h reports [unknown]
Дата
Msg-id CANYYVqJUwtLgG6872XUn=kprifd3J9ZOCBjgTw0HB3npYbG35g@mail.gmail.com
обсуждение исходный текст
Ответы Re: [MASSMAIL]custom log. variable %h reports [unknown]  ("Gilberto Castillo" <gilberto.castillo@etecsa.cu>)
Re: custom log. variable %h reports [unknown]  (Jerry Sievers <gsievers19@comcast.net>)
Список pgsql-admin
Hi All!

og_connections = on

log_disconnections = on

log_line_prefix = '===========> %h %u %t %p %x: [%l-1]'    

log_hostname = off

But in logs i see:

===========>  [unknown] 2016-01-26 17:07:46 UTC 1664 0: [1-1]LOG:  connection received: host=192.168.112.181 port=50321

===========> 192.168.112.181 postgres 2016-01-26 17:07:46 UTC 1664 0: [2-1]LOG:  connection authorized: user=postgres database=lb_upr

===========>  [unknown] 2016-01-26 17:08:27 UTC 1665 0: [1-1]LOG:  connection received: host=192.168.112.181 port=50330

The off. docs says that variable %h stands for Remote hostname or IP.

Any ideas?


PS 

DNS server configured to NOT answer on r-lookup queries, because he does not have reverse zone for  my network.


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

Предыдущее
От: Felipe Santos
Дата:
Сообщение: Re: pg_dump / pg_restore - TOC.dat file
Следующее
От: "Gilberto Castillo"
Дата:
Сообщение: Re: [MASSMAIL]custom log. variable %h reports [unknown]