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 don't understand the difference between these two settings. If I stick with the defaults, will oversized log files be cleared once a day, or once every 30 seconds? The documentation should be clearer about what exactly is occurring at each of these intervals.
The text was updated successfully, but these errors were encountered:
workerInterval is the interval to check if the log's size has reached max_size. So, in case the applications generate a lot of messages, the interval should be smaller to prevent the file's size to go beyond the max_size.
rotateInterval defines when the log rotates, no matter the size.
It seems they could be use together with workerInterval preventing the rotations from rotateInterval into making files too big.
In the image, the worker, in it's 5th iteration of it's interval, checked the size and noted it was higher than maxSize, so it split into another file. Once the rotateInterval was reached, the file was also split.
I don't understand the difference between these two settings. If I stick with the defaults, will oversized log files be cleared once a day, or once every 30 seconds? The documentation should be clearer about what exactly is occurring at each of these intervals.
The text was updated successfully, but these errors were encountered: