[erlang-questions] R21 logger mangles map messages

Mark Geib <>
Wed Aug 8 23:01:37 CEST 2018


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:

#{pmt_pid =>, 33, program_number =>, 5837} <-----(notice the extra commas after each =>)

compared to io:format output of #{pmt_pid => 33, program_number => 5837}

In both cases my formatting is “~p”.

Has anyone seen this before.??

Thanks,

Mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 528 bytes
Desc: Message signed with OpenPGP
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180808/64cb8851/attachment.bin>


More information about the erlang-questions mailing list