[erlang-questions] Logger to log terms, that can contain unicode chars

Zhemzhitsky Sergey Sergey_Zhemzhitsky@REDACTED
Tue Aug 28 08:46:54 CEST 2012

Hi Andrew,

I have raised  an issue - https://github.com/basho/lager/issues/75

Best Regards,

-----Original Message-----
From: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] On Behalf Of Andrew Thompson
Sent: Monday, August 27, 2012 7:41 PM
To: erlang-questions@REDACTED
Subject: Re: [erlang-questions] Logger to log terms, that can contain unicode chars

On Mon, Aug 27, 2012 at 03:12:30PM +0000, Zhemzhitsky Sergey wrote:
> Hi erlangers,
> Could you suggest any logger that can accept erlang terms which contains strings with Unicode characters?
> Or could you suggest how the lager should be configured properly.
> I was not able to get correct string presentation with lager doing 
> like so
> lager:info(“Info: ~p”, [{tuple, “string with umlauts u”}])

Looks like a bug to do with printing unicode with the ~p formatter, things seem to work ok if you use ~s or ~ts.

Could you file a bug so I can look into it more when I have time?

erlang-questions mailing list


The information contained in this message may be privileged and conf idential and protected from disclosure. If you are not the original intended recipient, you are hereby notified that any review, retransmission, dissemination, or other use of, or taking of any action in reliance upon, this information is prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and delete it from your computer. Thank you for your cooperation. Troika Dialog, Russia. 
If you need assistance please contact our Contact Center  (+7495) 258 0500 or go to www.troika.ru/eng/Contacts/system.wbp  

More information about the erlang-questions mailing list