Writing to a rotating log handler