set_log_sizeset_log_size — sets the maximum log file size for Script Log output.
set_log_size (nbytes)
nbytesThe approximate maximum number of bytes to store before rotating the log file.
t on
success, otherwise an error message.
This function sets the approximate maximum file size for holding Script Log
output. The actual file size will be slightly larger, as the file is rotated at
the first line break after the transaction that exceeds the file size. When the
log file is rotated, the current file is moved to
, and
filename.1 is recreated. If
filename exists before
rotation, it will be deleted and replaced with the current log file.filename.1
See also
set_log_file and
flush_log_file.