a14770
diff -ur postgresql-15.0/src/backend/utils/misc/postgresql.conf.sample patched/src/backend/utils/misc/postgresql.conf.sample
a14770
--- postgresql-15.0/src/backend/utils/misc/postgresql.conf.sample	2022-10-10 22:57:37.000000000 +0200
a14770
+++ patched/src/backend/utils/misc/postgresql.conf.sample	2022-10-13 10:51:57.000000000 +0200
a14770
@@ -448,7 +448,7 @@
a14770
 					# logging_collector to be on.
a14770
 
a14770
 # This is used when logging to stderr:
a14770
-#logging_collector = off		# Enable capturing of stderr, jsonlog,
a14770
+logging_collector = on			# Enable capturing of stderr, jsonlog,
a14770
 					# and csvlog into log files. Required
a14770
 					# to be on for csvlogs and jsonlogs.
a14770
 					# (change requires restart)
a14770
@@ -456,16 +456,16 @@
a14770
 # These are only used if logging_collector is on:
a14770
 #log_directory = 'log'			# directory where log files are written,
a14770
 					# can be absolute or relative to PGDATA
a14770
-#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'	# log file name pattern,
a14770
+log_filename = 'postgresql-%a.log'	# log file name pattern,
a14770
 					# can include strftime() escapes
a14770
 #log_file_mode = 0600			# creation mode for log files,
a14770
 					# begin with 0 to use octal notation
a14770
-#log_rotation_age = 1d			# Automatic rotation of logfiles will
a14770
+log_rotation_age = 1d			# Automatic rotation of logfiles will
a14770
 					# happen after that time.  0 disables.
a14770
-#log_rotation_size = 10MB		# Automatic rotation of logfiles will
a14770
+log_rotation_size = 0			# Automatic rotation of logfiles will
a14770
 					# happen after that much log output.
a14770
 					# 0 disables.
a14770
-#log_truncate_on_rotation = off		# If on, an existing log file with the
a14770
+log_truncate_on_rotation = on		# If on, an existing log file with the
a14770
 					# same name as the new log file will be
a14770
 					# truncated rather than appended to.
a14770
 					# But such truncation only occurs on