Questions tagged [serilog.extensions.logging.file]

2 questions
2
votes
0 answers

Add header to shared rolling files Serilog

I want to use Serilog to write logs generated by different (.NET framework) applications to a common file with headers. It is required that the file be split after a particular byte limit is reached https://github.com/serilog/serilog-sinks-file…
1
vote
1 answer

Serilog logging to file in worker service .net core 3.1

I am new to worker service.I have created worker service in .net core 3.1. Referred this tutorial File logging in .Net 5 worker service using serilog. It is working as expected, i.e it is logging to the file. Now i installed the service i had have…