Open Closed

Split log files by size. Max file size #1330


User avatar
0
joe@tronactive.com created
  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core

I am also a ASP.NET Zero user and I like how the log file starts new once it reaches 10MB. How can I apply something like that to abp? The log files get way to big to handle. To me it is a big issue.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    cotur created

    Hi Joe

    For all ABP templates, we use Serilog,

    For size limiting, you can use Serilog.Sinks.File NuGet package, please check this https://github.com/serilog/serilog-sinks-file#limits

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.