Details
Description
We use current_size to check if file gets greater than max_size.
However we are not increasing current_size when we write to the file.
We use current_size to check if file gets greater than max_size.
However we are not increasing current_size when we write to the file.