Open rbino opened 4 years ago
At the moment, VerneMQ does not support custom log formatting, so no date for now. There is a library for lager logfmt formatting, but it's outdated.
A possible workaround would be to forward Erlang Lager log messages (VerneMQ) to Elixir Logger (plugin). This approach presents two problems:
We should standardize VerneMQ logging to use logfmt format like all other Astarte services.
Moreover, right now the logger does not print a date, just a timestamp, so it's hard to understand when something was logged if a problem is being debugged some days later.