If I set maxsize for my connection what happens when this size is reached? Is a new logfile created or is this existing file truncated in some way?
when the maxsize size has been reached, the current log file is renamed to a backup file and a new log file with the original filename is opened. If the backup file already exists before renaming, it is deleted. This ensures that there will be at most one backup file.
For example, if you log to a file named ‘log.sil’ and the maxsize size is reached, the file ‘log.sil’ is renamed to ‘log_backup.sil’ and a new empty ‘log.sil’ is opened.