Added max log file size. If exceeded, creates backup file