3 答案
-
0
We're using
Serilog.Sinks.Async
in templates.Update:
Log.Logger = new LoggerConfiguration() .WriteTo.Async(c => c.File("Logs/logs.txt"))
to
Log.Logger = new LoggerConfiguration() .WriteTo.Async(c => c.File("Logs/logs.txt", rollingInterval:RollingInterval.Day))
Or you can directly use Serilog File Sink
-
0
Hi @jjlbj
It's not related with ABP. You can do it configuring Serilog like below: https://stackoverflow.com/a/28334074/7200126
-
0
Great !!! Works fine. Thanks !!!