1

I want to write different logs on different log files with Serilog by API request. The problem is when the log file configured within LoggerConfiguration(), they created no matter if their is any logs or not. The problem is that I have many empty log files per request. Maybe Serilog has the ability not to create file if it has no logs to write to that file? or maybe any other solution for this problem?

Yasin Br
  • 1,675
  • 1
  • 6
  • 16
Meir
  • 61
  • 6

0 Answers0