Skip to content

Commit 55c0ea7

Browse files
committed
refactor(postgresql): mv 00-logging.conf to just logging.conf
1 parent c51b05e commit 55c0ea7

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

ansible/files/postgresql_config/conf.d/00-logging.conf

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
logging_collector = on # Enable capturing of stderr and csvlog into log files. Required to be on for csvlogs. (change requires restart)

ansible/tasks/finalize-ami.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- name: PG logging conf
22
ansible.builtin.copy:
3-
dest: '/etc/postgresql-custom/conf.d/00-logging.conf'
3+
dest: '/etc/postgresql-custom/conf.d/logging.conf'
44
group: 'postgres'
55
src: 'files/postgresql_config/postgresql-csvlog.conf'
66

nix/packages/lib.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
cp -r ${paths.postgresqlExtensionCustomScriptsPath}/* $out/extension-custom-scripts/ || { echo "Failed to copy custom scripts"; exit 1; }
107107
108108
echo "Copy operation completed"
109-
chmod 644 $out/etc/postgresql-custom/conf.d/05-supautils.conf $out/etc/postgresql/postgresql.conf $out/etc/postgresql-custom/conf.d/00-logging.conf $out/etc/postgresql/pg_hba.conf
109+
chmod 644 $out/etc/postgresql-custom/conf.d/05-supautils.conf $out/etc/postgresql/postgresql.conf $out/etc/postgresql-custom/conf.d/logging.conf $out/etc/postgresql/pg_hba.conf
110110
111111
substitute ${../tools/run-server.sh.in} $out/bin/start-postgres-server \
112112
${

0 commit comments

Comments
 (0)