This seems to be a duplicate of LOGBACK-411. Tobias, who originally reported LOGBACK-411 two years ago, also included a trivial patch. But t seems the maintainers aren't too interested in fixing this (my pull GitHub request sent 5 months ago, fixing this and couple of other SyslogAppender bugs, also got no response whatsoever).