Skip to content

Commit

Permalink
Set logline as error and make it a structured log
Browse files Browse the repository at this point in the history
  • Loading branch information
ziopio committed Mar 18, 2024
1 parent 87e8b81 commit 85c619a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grisp_io_log_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 85c619a

Please sign in to comment.