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
I evaluated log file rotation based on file size (Parameter logfile_rotation_max_size ) with telegraf 1.12.6 under Windows.
After some Research it looks like the current implementration uses the number of bytes written to the log file by the program instead of using the actual file size of the logfile.
So the log file is not switched when a certain file size is reached but when a certain number of bytes have been written to the log after the program has been started.
Either the documentation or the implemtation needs to be changed. I would vote for the latter.
The text was updated successfully, but these errors were encountered:
I evaluated log file rotation based on file size (Parameter logfile_rotation_max_size ) with telegraf 1.12.6 under Windows.
After some Research it looks like the current implementration uses the number of bytes written to the log file by the program instead of using the actual file size of the logfile.
So the log file is not switched when a certain file size is reached but when a certain number of bytes have been written to the log after the program has been started.
Either the documentation or the implemtation needs to be changed. I would vote for the latter.
The text was updated successfully, but these errors were encountered: