On Saturday August 28 2004 9:30, Bruce Momjian wrote:
> Are we going to change this before beta2? I have not seen a final
> patch yet.
Attached is a revised patch:
+ changes postgresql.conf option 'log_filename_prefix' to 'log_filename',
and adds strftime() escape interpolation;
+ set default log_filename to 'postgresql-%Y-%m-%d_%H%M%S.log';
+ added postgresql.conf boolean option 'log_truncate_on_rotation', default
false;
+ log truncation is performed only on time-driven rotations and only when
log_truncate_on_rotation is true;
I did not add UTC offset logic nor logic to shift to top of the hour/day for
rotation periods of 60/1440 minutes, but would like to add that shortly if
time permits.
Ed