fix rotating file handler formats message twice bug