Ends in:
7 DAYS
20 HRS
5 MIN
3 SEC
Ends in:
7 D
20 H
5 M
3 S
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.


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

  • 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.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06