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
Once MyLog.log is full a new file, MyLog_001.log (or whatever), will be created and writing will continue in this new file. I would like the option to have MyLog.log copied to MyLog_001.log and writing continue in a now cleared out MyLog.log file.
This is the same behavior that Log4Net has with their rolling files. Each time the primary file rolls over, instead of writing to a new file, all previous files are copied and their filenames are incremented by 1. The primary file is then cleared and writing resumes in that same file. Assuming retention limit of 5 files, this means that MyLog_005.log contains the oldest data, not the newest data.
This type of behavior is beneficial for our QA team as they can keep a single file open in their editor and know that it will always contain the most recent log info.
The text was updated successfully, but these errors were encountered:
Assuming the following:
Once MyLog.log is full a new file, MyLog_001.log (or whatever), will be created and writing will continue in this new file. I would like the option to have MyLog.log copied to MyLog_001.log and writing continue in a now cleared out MyLog.log file.
This is the same behavior that Log4Net has with their rolling files. Each time the primary file rolls over, instead of writing to a new file, all previous files are copied and their filenames are incremented by 1. The primary file is then cleared and writing resumes in that same file. Assuming retention limit of 5 files, this means that MyLog_005.log contains the oldest data, not the newest data.
This type of behavior is beneficial for our QA team as they can keep a single file open in their editor and know that it will always contain the most recent log info.
The text was updated successfully, but these errors were encountered: