You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Just started using your module - since we where looking for DB Logger...
First bug I've found is that sometimes the msg is a valid string... and we get an error even if it continues running..
We patched the logger_psql.ex, function insert_log like this...
Thanks for letting me know, I'll try to patch this in this week itself, if you are in a hurry, feel free to open a merge request and I'll gladly review and merge it.
Hello,
Just started using your module - since we where looking for DB Logger...
First bug I've found is that sometimes the msg is a valid string... and we get an error even if it continues running..
We patched the logger_psql.ex, function insert_log like this...
changeset =
metadata
|> Map.merge(%{
level: to_string(level),
time: DateTime.from_unix!(Keyword.get(md, :time), :microsecond),
message: String.slice("#{inspect(msg)}",0,255),
metadata: metadata
})
|> Log.changeset()
Massimo
The text was updated successfully, but these errors were encountered: