You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have an idea, serilog-sinks-file can support the following file naming strategy: (assuming the log file is named log.txt):
The name of the latest log file is always log.txt. When the Rolling policy is triggered, the log file name is changed to log2019070114.txt or log_002.txt according to the policies of rollingInterval and rollOnFileSizeLimit.
The advantage of this is that you always know that log.txt is the latest log file, so that other programs can read and write the latest logs.
The text was updated successfully, but these errors were encountered:
Hi, I have an idea, serilog-sinks-file can support the following file naming strategy: (assuming the log file is named log.txt):
The name of the latest log file is always log.txt. When the Rolling policy is triggered, the log file name is changed to log2019070114.txt or log_002.txt according to the policies of rollingInterval and rollOnFileSizeLimit.
The advantage of this is that you always know that log.txt is the latest log file, so that other programs can read and write the latest logs.
The text was updated successfully, but these errors were encountered: