Remember that the Log4j one.x is deprecated and no more maintained, so when choosing the logging library of your respective preference you'll want to Choose Log4j two.x.The character set to utilize when changing the syslog String to the byte array. The String needs to be a sound Charset. Otherwise specified, this format makes use of the platform de