-
Notifications
You must be signed in to change notification settings - Fork 20
Create always new empty file ontop #48
Comments
I am also facing the same issue empty 0KB files created. File size limit set to 4MB per file, the content actually goes to the sink (RollingFileAlternate) and it rolls the files but does not really writes the contents? it was lost. As we see more files with numbers. It did work for 2 days after that it stopped working even after restarting AppPool & Machine. Initially I doubted it is something to do with calling CloseAndFlush (which I am calling during OnExit/OnError events), but it doesn't look like the problem! Below are the packages that I use:
|
Hi,
I do have two serilog sinks. mssql and rollingfile. Somehow there is a strange behavior. If the application starts, the rollingfile create always an empty log file (see the pic below). Do I have some misconfigs?
nugets
The text was updated successfully, but these errors were encountered: