【发布时间】:2015-07-24 09:02:50
【问题描述】:
我正在使用 log4j2 将日志消息发送到远程系统日志服务器。 appender 配置为:
<Syslog name="CLSYSLOG" host="xxx.xxx.xxx.xxx" port="514" protocol="TCP" facility="LOCAL4" format="RFC5424" appName="CEP" id="ES" includeMDC="false" enterpriseNumber="18060" newLine="true" messageId="Audit" mdcId="mdc" />
消息到达远程服务器,但在所有消息中的应用程序名称后添加了一个垃圾字符串“fe80: 0:0:0:801:24ff:fe62:8910%2”。
知道如何摆脱那个字符串吗?
【问题讨论】: