打开 关闭

Split log files by size. Max file size #1330


User avatar
0
joe@tronactive.com 创建
  • 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 答案
  • User Avatar
    0
    cotur 创建

    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 创建
    支持团队 Automatic process manager

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

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11