Make log rotation for files configurable