PostgreSQLのSQLログをrsyslogに出力していると、\t が #011 のように8進数で変換されて出力されていて、とても見にくい。
$ cat /var/log/postgres/postgres.log ・・・ ・・・ Dec 1 08:32:08 host postgres[7429]: [3-1] [db]LOG: 文: INSERT INTO table ( Dec 1 08:32:08 host postgres[7429]: [3-2] #011#011id, Dec 1 08:32:08 host postgres[7429]: [3-3] #011#011name,
/etc/rsyslog.conf へ以下を追加し、rsyslogを再起動する。
$EscapeControlCharactersOnReceive off