<div dir="ltr">It is probably the single_line property on the formatter that causes this. If single_line is true (default), then the formatted string is converted to a single line by replacing all newlines with ", " (comma, space). Could you please try to set single_line to false and let me see the output? The property can be set as follows (if the printout comes from the default handler):<div><br></div><div>logger:update_formatter_config(default,single_line,false).</div><div><br></div><div>Regards</div><div>/siri</div></div><br><div class="gmail_quote"><div dir="ltr">Den ons. 8. aug. 2018 kl. 23:01 skrev Mark Geib <<a href="mailto:mark.geib.44@gmail.com">mark.geib.44@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am migrating an application to R21 to try out the new logger. When I log a message with a map, using ā~pā, it appears like:<br>
<br>
#{pmt_pid =>, 33, program_number =>, 5837} <-----(notice the extra commas after each =>)<br>
<br>
compared to io:format output of #{pmt_pid => 33, program_number => 5837}<br>
<br>
In both cases my formatting is ā~pā.<br>
<br>
Has anyone seen this before.??<br>
<br>
Thanks,<br>
<br>
Mark.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>