Added maxFileSize to logging