fix sending log