Closed sergioampinho closed 3 years ago
Hello,
I tried to used the follow configuration,
config.WriteTo.PersistentFile(logPath, persistentFileRollingInterval: PersistentFileRollingInterval.Day, preserveLogFilename: true);
but each time I start the app is created a new file, LOG_HMI20210915_001 LOG_HMI20210915_002 LOG_HMI20210915_003 ....
instead of adding the new log lines into the current file, since is the same day.
I also tried to add rollOnFileSizeLimit: false, but the behavior is still the same.
https://github.com/dfacto-lab/serilog-sinks-file/issues/9
Hello,
I tried to used the follow configuration,
config.WriteTo.PersistentFile(logPath, persistentFileRollingInterval: PersistentFileRollingInterval.Day, preserveLogFilename: true);
but each time I start the app is created a new file, LOG_HMI20210915_001 LOG_HMI20210915_002 LOG_HMI20210915_003 ....
instead of adding the new log lines into the current file, since is the same day.
I also tried to add rollOnFileSizeLimit: false, but the behavior is still the same.