Hello,
I'm using c# NLog with Chainsaw target to send logs and Chainsaw configured to 
receive events from network with org.apache.log4j.net.UDPReceiver.
The issue is that some non-ascii letters in Message column are not displayed 
correctly, like "Got ываываываы." (expected message is "Got 
ываываываы.")

To be sure that this is not a NLog issue, I checked content of UDP packets with 
wireshark and it does have correct utf-8 encoding, with characters incorrectly 
displayed in Chainsaw around line 0090:

0070   68 72 65 61 64 3d 22 31 22 3e 3c 6c 6f 67 34 6a  hread="1"><log4j
0080   3a 6d 65 73 73 61 67 65 3e 47 6f 74 20 d1 8b d0  :message>Got ...
0090   b2 d0 b0 d1 8b d0 b2 d0 b0 d1 8b d0 b2 d0 b0 d1  ................
00a0   8b 2e 3c 2f 6c 6f 67 34 6a 3a 6d 65 73 73 61 67  ..</log4j:messag
00b0   65 3e 3c 6c 6f 67 34 6a 3a 74 68 72 6f 77 61 62  e><log4j:throwab
00c0   6c 65 3e 53 79 73 74 65 6d 2e 45 78 63 65 70 74  le>System.Except

Also, messages loaded from utf-8 encoded log file with 'Process a log file' are 
displayed correctly.

Thanks,
Fridrix

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to