<div dir="ltr">My SyslogAppender succeeds in sending messages to the syslogd on my MacBook, but the messages themselves are "corrupt" the syslogd logs them. For example, a RollingFileAppender <div><br></div><div>
<div> <appender name="DAILY_ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender"></div><div> <File>logs/dm.log</File></div><div> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"></div>
<div> <FileNamePattern>logs/dm.%d{yyyyMMdd}.log</FileNamePattern></div><div> </rollingPolicy></div><div> <encoder></div><div> <pattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSS} [%p] %c{2} DSN:%X{X-HTC-DEVICE-SN} APV:%X{X-HTC-APP-VERSION} RID:%X{X-HTC-REQUEST-ID} - %m%n</pattern></div>
<div> </encoder></div><div> </appender></div></div><div><br></div><div>logs a message like...<br></div><div><br></div><div style>2013-06-06T15:02:17.129 [INFO] Global$ DSN: APV: RID: - dm2-server starting<br>
</div><div style><br></div><div style>But the SysLog appender dorks the message corrupting the %d timestamp and duplicating the level. My SyslogAppender is configured like...</div><div style><br></div><div style><div> <appender name="SYSLOG" class="ch.qos.logback.classic.net.SyslogAppender"></div>
<div> <syslogHost>localhost</syslogHost></div><div> <facility>local4</facility></div><div> <suffixPattern>%d{yyyy-MM-dd'T'HH:mm:ss.SSS} %p %c{2} DSN:%X{X-HTC-DEVICE-SN} APV:%X{X-HTC-APP-VERSION} RID:%X{X-HTC-REQUEST-ID} - %m</suffixPattern></div>
<div> </appender></div><div><br></div><div style>With the same log message appearing like...</div><div style><br></div><div style>Jun 6 15:02:17 bobk-mbp.local 2013-06-06T15 <Info>: 02:17.129 INFO Global$ DSN: APV: RID: - dm2-server starting<br>
</div><div style><br></div><div style>Where did the <Info> come from and what is it doing in the middle of logback's %d timestamp? Is this logback messing up or syslogd? Any recommendations on how to troubleshoot this?</div>
<div style><br></div><div style>Bob</div></div><div><div><br></div><div><br></div></div></div>