AL
Size: a a a
AL
AL
KZ
HC
VG
HC
HC
VY
HC
DF
MK
could not connect to Postgres database: dial tcp 127.0.0.1:5432: connect: connection refused
YS
VY
could not connect to Postgres database: dial tcp 127.0.0.1:5432: connect: connection refused
E
+ log_destination: syslog
+ log_connections: true
+ log_disconnections: true
+ log_line_prefix: '%t,[%p],%q%h,%a,%u@%d,%e,%i,'
- log_rotation_size: 0
+ log_rotation_size: 10MB
+ pgaudit.log: all, -misc, -read
+ pgaudit.log_relation: true
- shared_preload_libraries: pg_stat_statements,auto_explain
+ shared_preload_libraries: pg_stat_statements,auto_explain, pgaudit
+ syslog_ident: pg_audit
Так
же в /etc/rsyslog.d/pgaudit.conf добавил:programname, contains, "pg_audit" @@10.10.10.10:5106
~&
после этого соответственно локальные логи пустые и ротация пропала, если в rsyslog.conf добавить:local0.* /var/log/postgresql
то ничего не меняется, хотелось бы либо чтобы была ротация, либо чтобы ещё помимо pgaudit остались локальные логи.Ю
Ю
Ю
РЖ
We are currently facing a major incident in our DataCenter (OVH).
Update 11 Mar
We are in the process of deploying infrastructure in the new data center.
ETA: 12 Mar 15:00 GMT+3
AM
AM