From ab3e648f184c62f2d0af37830d3c06e2cd6b465d Mon Sep 17 00:00:00 2001 From: Eric Morino Date: Thu, 15 Dec 2022 14:47:04 +0100 Subject: [PATCH] Add variable for fix logging --- postgresql/templates/postgresql.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postgresql/templates/postgresql.conf.j2 b/postgresql/templates/postgresql.conf.j2 index 9adce0b4..48551f4d 100644 --- a/postgresql/templates/postgresql.conf.j2 +++ b/postgresql/templates/postgresql.conf.j2 @@ -20,6 +20,8 @@ log_checkpoints = on log_lock_waits = on log_temp_files = 5MB log_autovacuum_min_duration = 1s +log_line_prefix = '%t [%p]: user=%u,db=%d,app=%a,client=%h ' +lc_messages = 'C' # Locales lc_monetary = 'fr_FR.UTF-8'