---
title: "GridJsLogger.MaxFileSize"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridjs/gridjslogger/maxfilesize/"
product: "Aspose.Cells for .NET API Reference"
description: "GridJsLogger property. Gets or sets the maximum size in bytes for a single log file before rolling. Only effective when rolling is enabled. 0 means no size limit. Default is 0"
---

## GridJsLogger.MaxFileSize property

Gets or sets the maximum size (in bytes) for a single log file before rolling. Only effective when rolling is enabled. 0 means no size limit. Default is 0.

```csharp
public static long MaxFileSize { get; set; }
```

### See Also

* class [GridJsLogger](../)
* namespace [Aspose.Cells.GridJs](../../../aspose.cells.gridjs/)
* assembly [Aspose.Cells.GridJs](../../../)


