Message from discussion
Logger to log terms, that can contain unicode chars
Received: by 10.204.129.81 with SMTP id n17mr1481579bks.3.1346080364201;
Mon, 27 Aug 2012 08:12:44 -0700 (PDT)
X-BeenThere: erlang-programming@googlegroups.com
Received: by 10.204.13.17 with SMTP id z17ls2711555bkz.5.gmail; Mon, 27 Aug
2012 08:12:43 -0700 (PDT)
Received: by 10.204.15.209 with SMTP id l17mr1481712bka.6.1346080363696;
Mon, 27 Aug 2012 08:12:43 -0700 (PDT)
Received: by 10.204.15.209 with SMTP id l17mr1481710bka.6.1346080363642;
Mon, 27 Aug 2012 08:12:43 -0700 (PDT)
Return-Path: <erlang-questions-boun...@erlang.org>
Received: from hades.cslab.ericsson.net (hades.cslab.ericsson.net. [192.121.151.104])
by gmr-mx.google.com with ESMTP id q3si4622551bkv.1.2012.08.27.08.12.43;
Mon, 27 Aug 2012 08:12:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) client-ip=192.121.151.104;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of erlang-questions-boun...@erlang.org designates 192.121.151.104 as permitted sender) smtp.mail=erlang-questions-boun...@erlang.org
Received: from hades.cslab.ericsson.net (hades [192.121.151.104])
by hades.cslab.ericsson.net (Postfix) with ESMTP id DDF455C0B5;
Mon, 27 Aug 2012 17:12:34 +0200 (CEST)
X-Original-To: erlang-questi...@erlang.org
Delivered-To: erlang-questi...@erlang.org
Received: from lists1.troika.ru (lists1.troika.ru [212.176.123.185])
by hades.cslab.ericsson.net (Postfix) with ESMTP id 2132B5C011
for <erlang-questi...@erlang.org>; Mon, 27 Aug 2012 17:12:33 +0200 (CEST)
From: Zhemzhitsky Sergey <Sergey_Zhemzhit...@troika.ru>
To: "erlang-questi...@erlang.org" <erlang-questi...@erlang.org>
Thread-Topic: Logger to log terms, that can contain unicode chars
Thread-Index: Ac2EZVDRYGLLjM5USwq1zPttokfhgw==
Date: Mon, 27 Aug 2012 15:12:30 +0000
Message-ID: <06139A918ACCA041BF46A0F36940C7FA4FE199CF@exch-mbx2.msk.trd.ru>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.20.3.206]
MIME-Version: 1.0
Subject: [erlang-questions] Logger to log terms,
that can contain unicode chars
X-BeenThere: erlang-questi...@erlang.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: General Erlang/OTP discussions <erlang-questions.erlang.org>
List-Unsubscribe: <http://erlang.org/mailman/options/erlang-questions>,
<mailto:erlang-questions-requ...@erlang.org?subject=unsubscribe>
List-Archive: <http://erlang.org/pipermail/erlang-questions>
List-Post: <mailto:erlang-questi...@erlang.org>
List-Help: <mailto:erlang-questions-requ...@erlang.org?subject=help>
List-Subscribe: <http://erlang.org/mailman/listinfo/erlang-questions>,
<mailto:erlang-questions-requ...@erlang.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4918626436598791102=="
Errors-To: erlang-questions-boun...@erlang.org
Sender: erlang-questions-boun...@erlang.org
--===============4918626436598791102==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_06139A918ACCA041BF46A0F36940C7FA4FE199CFexchmbx2msktrdr_"
--_000_06139A918ACCA041BF46A0F36940C7FA4FE199CFexchmbx2msktrdr_
Content-Type: text/plain; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable
Hi erlangers,
Could you suggest any logger that can accept erlang terms which contains st=
rings 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(=93Info: ~p=94, [{tuple, =93string with umlauts u=94}])
Best Regards,
Sergey
_______________________________________________________
The information contained in this message may be privileged and conf identi=
al and protected from disclosure. If you are not the original intended reci=
pient, you are hereby notified that any review, retransmission, disseminati=
on, or other use of, or taking of any action in reliance upon, this informa=
tion is prohibited. If you have received this communication in error, pleas=
e notify the sender immediately by replying to this message and delete it f=
rom your computer. Thank you for your cooperation. Troika Dialog, Russia.=20
If you need assistance please contact our Contact Center (+7495) 258 0500 =
or go to www.troika.ru/eng/Contacts/system.wbp =20
--_000_06139A918ACCA041BF46A0F36940C7FA4FE199CFexchmbx2msktrdr_
Content-Type: text/html; charset="windows-1251"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
251">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"RU" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hi erlangers,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Could you suggest any logger th=
at can accept erlang terms which contains strings with Unicode characters?<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Or could you suggest how the la=
ger should be configured properly.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">I was not able to get correct s=
tring presentation with lager doing like so<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">lager:info(=93Info: ~p=94, [{tu=
ple, =93string with umlauts ǜ=94}])<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-US" s=
tyle=3D"color:black;mso-fareast-language:RU">Best Regards,<o:p></o:p></span=
></p>
<p class=3D"MsoNormal" style=3D"text-autospace:none"><span lang=3D"EN-US" s=
tyle=3D"color:black;mso-fareast-language:RU">Sergey<o:p></o:p></span></p>
</div>
<p><span style=3D"font-family:'Arial';font-size:8pt;">_____________________=
__________________________________</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;"></span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;"> </span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">The information conta=
ined 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. I=
f you have received this communication in error, please notify the sender i=
mmediately by replying to this message and delete it from your computer. Th=
ank you for your cooperation. Troika Dialog, Russia. </span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">If you need assistanc=
e please contact our Contact Center (+7495) 258 0500 or go to www.troika.r=
u/eng/Contacts/system.wbp </span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;"> </span></p></bo=
dy>
</html>
--_000_06139A918ACCA041BF46A0F36940C7FA4FE199CFexchmbx2msktrdr_--
--===============4918626436598791102==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
--===============4918626436598791102==--