logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LECHNER Martin" <Martin.LECH...@frequentis.com>
Subject Unicode Logging questions
Date Tue, 01 Feb 2005 10:44:47 GMT
Thanks to your help I was finaly able to compile the log4cxxd.dll.

I tried it out with logging of some unicode characters (japanese and german)
and have a few questions:

Is there a way to get readable chars instead of the unicode (\u4ECA) number
of the character?
What about uf8 encoding? 
Did I miss some settings somewhere?

Best regards

ML



The result was for text mode:
2005-01-31 16:28:53,440[0x0000071D] INFO  Main null - Configured test
Application: version:  
2005-01-31 16:28:55,002[0x0000071D] INFO  ***SCRAP*** null - Here we go!!! 
2005-01-31 16:28:55,033[0x0000071D] ERROR ***SCRAP*** null - \u4ECAƶ 

and for XML:
<log4j:event logger="Main" timestamp="1107185333440" level="INFO"
thread="0x0000071D">
<log4j:message><![CDATA[Configured test Application: version:
]]></log4j:message>
</log4j:event>
<log4j:event logger="***SCRAP***" timestamp="1107185335002" level="INFO"
thread="0x0000071D">
<log4j:message><![CDATA[Here we go!!!]]></log4j:message>
</log4j:event>
<log4j:event logger="***SCRAP***" timestamp="1107185335033" level="ERROR"
thread="0x0000071D">
<log4j:message><![CDATA[\u4ECAƶ]]></log4j:message>
</log4j:event>




Mime
View raw message