diff --git a/src/grisp_io_log_server.erl b/src/grisp_io_log_server.erl index 3919aa6..ceb399d 100644 --- a/src/grisp_io_log_server.erl +++ b/src/grisp_io_log_server.erl @@ -60,5 +60,5 @@ send_logs_chunk({Events, Dropped}) -> {ok, #{seq := Seq, dropped := ServerDropped}} -> grisp_io_logger_bin:sync(Seq, ServerDropped); E -> - ?LOG_WARNING("Error sending logs = ~p\n",[E]) + ?LOG_ERROR(#{event => send_logs, data => E}) end.