Implement basic log rotation (closes #211) #344

Merged
gahag merged 2 commits from log-rotate into master 2019-10-29 21:21:05 +01:00

2 commits

Author SHA1 Message Date
gahag
2d94f2e224 Implement log backup
To implement a basic form of log rotation, two instances of the log file are to
be adopted: one for the current execution, and one for the previous
execution. On startup, if the log file exists, it is renamed into the old
log file. This means that you should always have logs for the last 2 executions.

closes #211
2019-10-22 16:31:56 -03:00
gahag
9d0b11aeb9 Remove shrinkdebugfile flag (#211)
To implement a basic form of log rotation, two instances of the log file are to
be adopted: one for the current execution, and one for the previous
execution. On startup, if the log file exists, it will be renamed into the old
log file. This implies the deprecation and removal of the log shrink flag, since
the log is no longer forever growing.
2019-10-22 16:20:44 -03:00