Remove duplicate timestamp
Currently, the timestamp is printed twice for each log entry. Need to use the Logger.Formatter.format in such a way so that it does not include a timestamp, since I believe that syslog is picky on the timestamp field and must be provided as part of the header of the UDP message.
To solve this you can provide a different default formatter. For example one that is identical to the standard default except no timestamp:
Keyword.get(opts, :format, "$metadata[$level] $levelpad$message\n")
Instead of creating a new timestamp, the timestamp sent by Logger with the event (ts in your case) can be used. It is of the form (all integers):
{{year, month, day}, {hour, minutes, seconds, milliseconds}}
@fishcakez yup that seems more consistent than crafting new timestamp in the backend
So looks like the timestamp code in Utils is to be trashed anyway ;)