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