From 2b2ac440199510031b58c45823889584ae48a7cf Mon Sep 17 00:00:00 2001 From: red Date: Sun, 6 Jul 2025 19:02:49 -0400 Subject: [PATCH] log to file --- manifests/postgres/configmap.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/postgres/configmap.yaml b/manifests/postgres/configmap.yaml index 8598d48..a9341ba 100644 --- a/manifests/postgres/configmap.yaml +++ b/manifests/postgres/configmap.yaml @@ -78,10 +78,10 @@ data: max_prepared_transactions = 0 # log settings - # log_destination = 'stderr' - # logging_collector = on - # log_directory = 'pg_log' - # log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' - # log_min_duration_statement = 1000 - # log_lock_waits = on - # log_checkpoints = on \ No newline at end of file + log_destination = 'stderr' + logging_collector = on + log_directory = 'pg_log' + log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' + log_min_duration_statement = 1000 + log_lock_waits = on + log_checkpoints = on \ No newline at end of file