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
Sometimes will be interested in force flushing RollingFileAppender data for next backuping them into different storages.
I usually have only one file for logging (without any backup). That is why it is not possible for using rollLogFiles() call.
If user wants to force use flush, it will be also good for providing all collected logs without removing any part of collected logs. Force rolling removes last of them - and that is not looks like a good choice for that case.
The text was updated successfully, but these errors were encountered:
Log data is written directly to a file without any intermediate buffering in the app. So I'm not sure what flushing do you need. Could you provide more details?
Also, glibc uses internal RAM buffers too, as I know, and another process sometimes have no possibility for accessing the latest file changes on HDD/SSD...
Sometimes will be interested in force flushing RollingFileAppender data for next backuping them into different storages.
I usually have only one file for logging (without any backup). That is why it is not possible for using
rollLogFiles()
call.If user wants to force use flush, it will be also good for providing all collected logs without removing any part of collected logs. Force rolling removes last of them - and that is not looks like a good choice for that case.
The text was updated successfully, but these errors were encountered: