Fix log rotation, add file paths to vars