Open jrouzies-fr opened 1 month ago
Your configuration seems ok, could you try to directly call it from code:
.WriteTo.Async( a => a.PersistentFile( .... ) )
It seems you have 2 libraries in your path, make sure it works from code and then add it to the config file.
Actually I found I was writing to File, not PersistentFile
Seems to work great now, thank you
Hello,
I am trying to implement your version, and have the configuration in the appsettings.json:
It does create properly the not-rolling file, but nothing gets written into it. If I add back the native
"rollingInterval": "Day",
, the classic Serilog behavior is back and write properly (but name is rolling).Any idea?
Thanks