Log rotation and client disconnects